Skip to main content
DELETE
/
v1
/
storage
/
object
Delete Object from Storage
curl --request DELETE \
  --url https://api.example.com/v1/storage/object \
  --header 'Authorization: Bearer <token>'
{
  "code": 200,
  "data": {
    "message": "Success to delete object from storage."
  },
  "exception": null,
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Include the token in the Authorization header as 'Bearer '

Query Parameters

object_key
string
required

Path(Key) of the object to delete. e.g. "pdf/test.pdf"

Response

Success to delete object from storage.

code
integer<int32>
required

HTTP status code.

Required range: x >= 0
success
boolean
required

Whether the request was successful.

data
any
exception
any