Menu
Update User
Update a User
PATCH
/users/{id}Use it in a workflow
- Add a step and choose the Directus connector.
- Pick the Update User action (under Users).
- Fill in the fields below, then reference the result from later steps as
{{updateUser.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"id": "63716273-0f29-4648-8a2a-2af2948f6f78",
"first_name": "Admin",
"last_name": "User",
"email": "admin@example.com",
"password": "string",
"location": null,
"title": null,
"description": null,
"tags": null,
"avatar": null,
"language": "en-US",
"tfa_secret": null
}
Response
Returns 200 with an object. Read it in later steps with {{updateUser.response.data.<field>}}.
{
"data": {}
}
Need more? See the Directus guide for connection setup and behaviour shared by every action.
Was this page helpful?