Assets

Delete backed up versions

DELETE
/v1_1/{cloud_name}/resources/backup/{asset_id}

Deletes specific backed up versions of an asset identified by asset ID. This operation is irreversible and deleted versions cannot be recovered.

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.

asset_id*string

The asset ID of the resource. Must be a 32-character hexadecimal string.

Match^[0-9a-f]{32}$

Request Body

application/json

The asset IDs and version IDs to delete.

version_ids*array<string>

The list of version IDs to delete from backup.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1_1/my_cloud/resources/backup/f4e6579cf84dd9cf5683b21f5b30c7d9" \  -H "Content-Type: application/json" \  -d '{    "version_ids": [      "string"    ]  }'
{  "asset_id": "string",  "deleted_version_ids": [    "string"  ]}