Assets

Delete derived resources

DELETE
/v1_1/{cloud_name}/derived_resources

Deletes derived resources by derived resource ID

Authorization

AuthorizationBasic <token>

Basic authentication using Cloudinary API Key and API Secret.

In: header

Path Parameters

cloud_name*string

The cloud name of your product environment.

Request Body

application/json

The derived resource IDs to delete.

Request parameters for deleting derived resources

derived_resource_ids*array<string>

Array of derived resource IDs to delete specific derived resources

invalidate?boolean

Whether to invalidate the CDN cache for the deleted resources

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1_1/my_cloud/derived_resources" \  -H "Content-Type: application/json" \  -d '{    "derived_resource_ids": [      "string"    ]  }'
{  "deleted": {    "property1": "deleted",    "property2": "deleted"  },  "unauthorized": [    "string"  ],  "invalidation": {    "took": 0,    "urls": [      "string"    ]  }}