-
DELETE /api/marketplace-resources/<resource_uuid>/
- Delete an existing object storage service.This endpoint permanently deletes the specified object storage service and all its contents. Warning: This action is irreversible, so exercise extreme caution! You'll need the
resource_uuid
of the object storage, which you can obtain from the "List Object Storage" endpoint (4.2.2).Notes:
- Warning: All data within the object storage will be permanently deleted. Ensure you have backups if needed.
- The object storage must be empty before it can be deleted.
Request Example:
DELETE [https://api.wayscloud.services/api/marketplace-resources/storage_resource_uuid/](https://api.wayscloud.services/api/marketplace-resources/storage_resource_uuid/)
Authorization: Token <your_api_token>Status Codes:
- 204 No Content: The object storage service was successfully deleted.
- 401 Unauthorized: The user making the request is not authorized.
-
404 Not Found: The specified object storage
resource_uuid
does not exist. - 409 Conflict: The object storage service cannot be deleted because it is not empty.