Deactivate a user and tear down their workspaces
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.
DELETE
/api/v1/admin/users/{user_id}Authorization
BearerAuth AuthorizationBearer <token>
In: header
Path Parameters
user_id*User Id
Format
uuidResponse Body
application/json
curl -X DELETE "https://example.com/api/v1/admin/users/497f6eca-6276-4993-bfeb-53cbbbba6f08"Empty
Update a user PATCH
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.
List a user's workspaces GET
Returns every workspace the given user is a member of. Requires an admin user.