younifyd
Menu

Update Item

Update an Item

PATCH/items/{collection}/{id}

Use it in a workflow

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

Request

Path parameters

idstringrequired

Unique identifier of the item.

collectionstringrequired

Collection of which you want to retrieve the items from.

Query parameters

fieldsarray<string>

Control what fields are being returned in the object.

metastring

What metadata to return in the response.

Response

Returns 200 with an object. Read it in later steps with {{updateItem.response.data.<field>}}.

dataobject
json
{
  "data": {}
}

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

Was this page helpful?