Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Bulk Delete Images

Permanently deletes up to 100 images by their IDs. Removes images from Cloudflare CDN, purges cache, and deletes all associated translations and relationships. Returns lists of successfully deleted and failed deletion attempts with error details. Deprecated: use DELETE /api/v2/{team_slug}/{app_slug}/dam/images instead.

DELETE/api/v1/{team_slug}/{app_slug}/images/bulkdeprecated
Authorization
AuthorizationBearer token · headerrequired

Management API token, sent as Authorization: Bearer <token>.

Path parameters
team_slugstringrequired

Team slug

app_slugstringrequired

App slug

Request body
requiredapplication/json

Image IDs to delete

image_idsstring[]required
min items 1 · max items 100
Responses
200

Images deleted successfully

datainternal_pkg_webserver_v1.BulkDeleteImagesResponserequired
Show properties
failedinternal_pkg_webserver_v1.BulkDeleteFailed[] | null
Show properties
Array of internal_pkg_webserver_v1.BulkDeleteFailed
idstring
reasonstring
successfulstring[] | null
detailsstring[]

Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes

successbooleanrequired
400

Invalid request

detailsstring[]
messagestring
successbooleanrequired
401

Unauthorized access

detailsstring[]
messagestring
successbooleanrequired
500

Internal server error

detailsstring[]
messagestring
successbooleanrequired
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X DELETE 'https://api.enad.io/api/v1/string/string/images/bulk' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "image_ids": [
    "string"
  ]
}'
Response
{
  "data": {
    "failed": [
      {
        "id": "string",
        "reason": "string"
      }
    ],
    "successful": [
      "string"
    ]
  },
  "details": [
    "string"
  ],
  "success": true
}