younifyd
Menu

Delete Items

Delete Multiple Items

DELETE/items/{collection}

Use it in a workflow

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

Request

Path parameters

collectionstringrequired

Collection of which you want to retrieve the items from.

Query parameters

fieldsarray<string>

Control what fields are being returned in the object.

limitinteger

A limit on the number of objects that are returned.

metastring

What metadata to return in the response.

offsetinteger

How many items to skip when fetching data.

sortarray<string>

How to sort the returned items. `sort` is a CSV of fields used to sort the fetched items. Sorting defaults to ascending (ASC) order but a minus sign (` - `) can be used to reverse this to descending (DESC) order. Fields are prioritized by their order in the CSV.

filterany

Select items in collection by given conditions.

searchstring

Filter by items that contain the given search query in one of their fields.

Response

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

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

Delete Items — Directus — Documentation