Skip to main content
POST
Deactivate a person

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
string<uuid>
required

Body

application/json
reason
string
required

Why, kept in the person's access history.

Required string length: 3 - 1000

Response

The person, deactivated.

active
boolean
required
created_at
string<date-time>
required
email
string
required
password_set
boolean
required

False while an invited person has not chosen a password.

roles
BindingOut · object[]
required
sso
boolean
required

The e-mail domain belongs to the tenant's SSO connection.

user_id
string<uuid>
required
deactivated_at
string<date-time> | null
invitation
InvitationOut · object | null

Shown once: at creation, for a person created without a password.

invitation_expires_at
string<date-time> | null

Until when the person's open invitation link works; null when none is open.

last_login_at
string<date-time> | null
last_sso_login_at
string<date-time> | null
recovery_codes_left
integer
default:0
second_factor_confirmed_at
string<date-time> | null

When the authenticator in use was confirmed; null while there is none.

totp_uri
string | null

Shown once, at creation, for enrollment.