Update a user’s email, role, or active status (superadmin only).
Cannot modify password through this endpoint - use the password reset endpoint. Cannot modify your own role or deactivate yourself.
Request schema for updating a user.
All fields are optional. Only provided fields will be updated. Note: account_id and password cannot be changed via this endpoint.
User's email address
Role ID (must exist)
x >= 1Whether the user can log in
Authentication provider type ('password', 'oauth', 'saml')
Specific provider name (e.g., 'google', 'github')
External provider's user ID
Email from external provider
Additional profile data from external provider
Successful Response
Response schema for a single user.
Includes user details along with related account and role information.
User ID
User's email address
Account ID (UUID)
Human-readable account code in XX#### format (e.g., AB1234)
Account display name
Role ID
Role name
Whether the user can log in
Authentication provider type ('password', 'oauth', 'saml')
Whether the user's email is verified
When the user was created
Specific provider name (e.g., 'google', 'github')
External provider's user ID
Email from external provider
Additional profile data from external provider
When the email was verified
Last successful login