Skip to main content
PUT

Authorizations

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

Path

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

Body

application/json
string[]
required
Must include "urn:ietf:params:scim:schemas:core:2.0:User".
string
required
The user’s email address. Must be a valid email.
object
boolean
Whether the user should be active. Setting to false suspends the member and revokes their active sessions.
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.
string[]
Always ["urn:ietf:params:scim:schemas:core:2.0:User"].
string
The workspace membership ID or workspace invite ID.
string
The user’s email address.
object
object[]
boolean
Whether the user is active.
string
The user’s role: "admin" or "member". Not present for suspended users.
object