Actions26
- Item Actions
- User Actions
- File Actions
Item → Update
AI-generatedSummary
Updates an existing item in a Directus collection.
Inputs
- Collection Name or ID (required) — The Directus collection to update. Choose from the list or specify an ID via an expression.
- Item ID (required) — The ID of the item to update.
- Collection Fields — One or more field/value pairs to update. Each field can be selected from the collection’s fields or set via an expression.
Output shape
object
Returns the item data as provided by Directus after the update, typically including the updated fields and any system fields.
Examples
Example 1: Update the title of a blog post
Set Collection to 'articles', Item ID to the post’s UUID, and provide a single field: name='title', value='New Title'.