Skip to main content
DELETE
/
buckets
/
{id}
/
objects
/
{key}
Delete object
curl --request DELETE \
  --url https://nulldrop.xyz/api/v2/buckets/{id}/objects/{key} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}
The Delete operation removes an object from a bucket. This operation is permanent and cannot be undone.

Parameters

ParameterRequireDescription
idYesUnique identifier of the bucket.
keyYesURL-encoded path to the object.

Permissions

Only the bucket owner or an authenticated developer with a valid API Key can delete objects. If the bucket is set to private, additional authentication headers are required.

Errors

If the object does not exist, the API returns a 404 Not Found error. Ensure the key is correctly encoded, especially if it contains virtual folder levels (slashes).

Authorizations

Authorization
string
header
required

API key authentication (format: nd_xxxxx)

Path Parameters

id
string
required

Bucket ID

key
string
required

Object key (URL encoded)

Response

200 - application/json

Deleted

success
boolean