Official Plugins (Kuzzle v1.x)
Cloudinary v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

destroy #

Deletes the specified asset


Query Syntax #

HTTP #

Copied to clipboard!
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 #

Copied to clipboard!
{
  "controller": "cloudinary/assets",
  "action": "destroy",
  "public_id": "sample"
}

Arguments #


Response #

Copied to clipboard!
{
  "status": 200,
  "error": null,
  "controller": "cloudinary/assets",
  "action": "destroy",
  "requestId": "<unique request identifier>",
  "result": {
    "result": "ok"
  }
}

Possible Errors #