DELETE /v1/objects endpoint permanently removes a specific object from your Virtus Cloud Blob account. Once deleted, the object and its CDN URL are no longer accessible. This action cannot be undone, so make sure you no longer need the file before calling this endpoint.
Endpoint: DELETE https://blob.virtuscloud.app/v1/objects
Authentication
Include your API key in theAuthorization header:
Request Body
Send the request body as JSON with theContent-Type: application/json header.
The full ID of the object to delete. This is the
id field returned when you uploaded the object or listed your objects. The value follows the pattern accountID/filename. Example:Example Request
Response
Indicates whether the request succeeded. Returns
"success" on success or "error" on failure.Example Response
Troubleshooting
- 400 — Bad Request
- 404 — Not Found
A
400 response means the object identifier you provided failed validation or the deletion could not be completed.