Folders

Deletes an existing folder from your media library

DELETE
/v1_1/{cloud_name}/folders/{folder}

Deletes a folder and all assets within it.

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.

folder*string

The full path of the folder, including any nested folders. Must not be empty, and must not contain double slashes or leading/trailing slashes.

Match^(?!.*//)[^/].+(?<!/)$

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1_1/my_cloud/folders/product/test"
{  "deleted": [    "string"  ]}