Update a user
Partially updates a user (currently: `name`, `email`). Fields left out are unchanged; an empty body is a no-op. `email` must not already be in use by another user. Requires an admin user.
PATCH
/api/v1/admin/users/{user_id}Authorization
BearerAuth AuthorizationBearer <token>
In: header
Path Parameters
user_id*User Id
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/api/v1/admin/users/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'Empty
Get a user GET
Returns a single user by id. Requires an admin user.
Deactivate a user and tear down their workspaces DELETE
Deactivates the user, soft-deletes every workspace they own — their system-default included — along with its projects, moves other members left project-less there back to their own default workspace, and drops the user's own workspace context. An admin user cannot be deleted this way. Requires an admin user.