Method: UpcloudApi#delete_storage

Defined in:
lib/upcloud_api.rb

#delete_storage(storage_uuid) ⇒ Object

Deletes a storage.

The storage must be in “online” state and it must not be attached to any server. Backups will not be deleted.

Parameters:

  • storage_uuid

    UUID of the storage that will be deleted.



503
504
505
506
507
# File 'lib/upcloud_api.rb', line 503

def delete_storage(storage_uuid)
  response = delete "storage/#{storage_uuid}"

  response
end