Skip to main content
PUT

Authorizations

Authorization
string
required
This API uses OAuth 2.0 with the authorization code grant flow.

Path

user_id
string
required
The workspace membership ID or workspace invite ID of the user to update.

Body

application/json
schemas
string[]
required
Must include "urn:ietf:params:scim:schemas:core:2.0:User".
userName
string
required
The user’s email address. Must be a valid email.
name
object
active
boolean
Whether the user should be active. Setting to false suspends the member and revokes their active sessions.
appRole
string
The user’s role: "admin" or "member".

Response

Returns 200 with the updated user. Returns 204 No Content when setting active to false on a pending invite; deprovisioning an active member returns 200.
schemas
string[]
Always ["urn:ietf:params:scim:schemas:core:2.0:User"].
id
string
The workspace membership ID or workspace invite ID.
userName
string
The user’s email address.
name
object
emails
object[]
active
boolean
Whether the user is active.
appRole
string
The user’s role: "admin" or "member". Not present for suspended users.
meta
object