active, and you move them with the activate, deactivate, and close endpoints. This page explains what each status means, which reason each transition takes, and what to do if you closed a user account by mistake.
Lifecycle
The dashed line is error correction only. See Correcting a mistaken closure below.Statuses
Transitions
POST requires an Idempotency-Key header of up to 255 characters. See Idempotency.
You cannot change status with
PATCH. If you send a status field, Lead ignores it.
Status reasons
status_reason explains the current status. Active user accounts return active. The deactivate and close endpoints each accept their own set of reasons.
Deactivate
Close
Correcting a mistaken closure
If you closed a user account by mistake, callPOST /v2/user_accounts/{id}/activate on the closed user account. No request body is needed. The user account returns to active, and status_reason is set to active.

