cURL
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 }
Delete object from the storage by object key.
Bearer token authentication. Include the token in the Authorization header as 'Bearer '
Path(Key) of the object to delete. e.g. "pdf/test.pdf"
Success to delete object from storage.
HTTP status code.
x >= 0
Whether the request was successful.