younifyd
Menu

Delete Assets

Delete multiple assets

POST/v1/spaces/{space_id}/assets/bulk_destroy

Use it in a workflow

  1. Add a step and choose the Storyblok connector.
  2. Pick the Delete Assets action (under Assets).
  3. Fill in the fields below, then reference the result from later steps as {{deleteAssets.response.data}}.

Request

Path parameters

space_idintegerrequired

Numeric ID of the space.

Request body

Enter the body as JSON in the step's Body field.

idsarray<integer>required

Asset IDs to delete.

json
{
  "ids": [
    0
  ]
}

Response

Returns 200 with a any. Read it in later steps with {{deleteAssets.response.data.<field>}}.

Need more? See the Storyblok guide for connection setup and behaviour shared by every action.

Delete Assets — Storyblok — Documentation