Actions26
- Item Actions
- User Actions
- File Actions
User → Update (Raw JSON)
AI-generatedSummary
Update a user with raw JSON payload
Inputs
- userId (required) — The ID of the user to operate on
- jsonData — Raw JSON data to send to Directus
Output shape
An array containing one object with 'json' (the response payload) and 'pairedItem' (metadata about the processed item)
If simplify is enabled the json field contains simplified user data; otherwise it contains the raw response from Directus. Errors are caught and returned as error objects within the same structure.
Examples
Example 1: Update a user's email
userId: "123", jsonData: {"email": "new@example.com"}