Deactivate a user in the organization.
DELETE /v1/organizations/members/{user_id}
DELETE
/v1/organizations/members/{user_id}
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” user_id
required
string format: uuid
The UUID of the user to deactivate
Responses
Section titled “ Responses ”User deactivated
object
email
required
string
first_name
required
string
icon
Relative path to the user’s avatar endpoint, e.g.
"users/{id}/avatar?v={hash}". None when the user has no avatar.
string | null
id
required
string format: uuid
last_name
required
string
deactivated_date
string | null format: date-time
joined_date
required
string format: date-time
kind
required
Kind of principal an OrganizationMember represents. Always HUMAN on the
/v1/users endpoint today; included on the wire so consumers have a single
discriminator regardless of which endpoint surfaced the row.
Wire format is SCREAMING_SNAKE_CASE so the values read as constants (HUMAN,
SERVICE_ACCOUNT).
string
last_login
string | null format: date-time
roles
required
Array<string>
Cannot deactivate self or last admin
Forbidden - insufficient permissions
User or organization not found