Skip to main content

Patch User

PATCH 

/users/:user_id

Update a user's username and/or platform-admin flag. Platform admin access only.

Both fields are optional and independent — supply either, both, or neither (a no-op call still succeeds). Renaming a user whose personal workspace is still named after their old username renames that workspace to match. Returns 404 if the user does not exist, 403 if the caller is not a platform admin, and 409 if the requested username is already taken by another user.

Request​

Responses​

Successful Response