Skip to content

Delete Object

DELETE
/v1/object/{bucket}/{key}

Delete a file from a Smart Bucket or regular bucket. The bucket parameter (ID) is used to identify the bucket to delete from. The key is the path to the object in the bucket.

Authorizations

Parameters

Path Parameters

bucket
required
string

The bucket identifier

key
required
string

The object key/path

Responses

200

Delete successful

object
success
required
boolean

400

Error response

object
code
required

Error code

string
Allowed values: INVALID_ARGUMENT UNAUTHENTICATED PERMISSION_DENIED NOT_FOUND INTERNAL
INVALID_ARGUMENT
message
required

Error message

string
Missing required parameter: input

403

Error response

object
code
required

Error code

string
Allowed values: INVALID_ARGUMENT UNAUTHENTICATED PERMISSION_DENIED NOT_FOUND INTERNAL
INVALID_ARGUMENT
message
required

Error message

string
Missing required parameter: input

404

Error response

object
code
required

Error code

string
Allowed values: INVALID_ARGUMENT UNAUTHENTICATED PERMISSION_DENIED NOT_FOUND INTERNAL
INVALID_ARGUMENT
message
required

Error message

string
Missing required parameter: input