Actions26
- Item Actions
- User Actions
- File Actions
Item → Delete
AI-generatedSummary
Delete an item from a specified collection in Directus.
Inputs
- collection (required) — The collection name or ID to delete the item from.
- itemId (required) — The ID of the item to delete.
Output shape
Array of objects, each containing the deleted item's data under the 'json' key and a 'pairedItem' reference indicating the processed input index.
The array length matches the number of items processed; may be empty if no items were matched or an error occurred. The returned data structure follows the node's standard pairedItem format.
Examples
Example 1: Delete the item with ID 42 from the 'users' collection.
resource: item, operation: Delete, collection: users, itemId: 42