Skip to content

Delete Multiple Assets

Terminal window
https://mapi.storyblok.com/v1/spaces/:space_id/assets/bulk_destroy

Delete multiple assets by using their numeric IDs.

  • :space_id required number

    Numeric ID of a space

  • ids number[]

    Array of numeric asset IDs

Example Request

curl "https://mapi.storyblok.com/v1/spaces/606/assets/bulk_destroy" \
-X POST \
-H "Authorization: YOUR_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"ids\":[20142579,20142580]}"