Skip to content

Bulk Restoration of Deleted Assets

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

To bulk restoration of deleted assets, pass bulk_restore after assets in the endpoint. Inside of the array from the payload should contain the asset IDs that you want to restore.

  • :space_id required number

    Numeric ID of a space

  • ids number[]

    Array of numeric IDs

Example Request

curl "https://mapi.storyblok.com/v1/spaces/656/assets/bulk_restore" \
-X POST \
-H "Authorization: YOUR_OAUTH_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"ids\":[13941914]}"