destroy #
Deletes the specified asset
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_plugin/cloudinary/assets/<public_id>
Method: DELETE
Be aware that Cloudinary allows special characters in the public_id syntax. You may need to encode the public id with escape character
Other protocols #
{
"controller": "cloudinary/assets",
"action": "destroy",
"public_id": "sample"
}
Arguments #
public_id
: public_id of the asset to delete
Response #
{
"status": 200,
"error": null,
"controller": "cloudinary/assets",
"action": "destroy",
"requestId": "<unique request identifier>",
"result": {
"result": "ok"
}
}
Possible Errors #
Edit this page on Github(opens new window)