Users - Admin

Deactivate a user

Deactivates a user (soft delete). The user will no longer appear in listings but their data is preserved.

Refuses with 409 when the deactivation would leave the company with no ACTIVE user able to reach access management (SELF_LOCKOUT_MODULES) — see user_roles_db.deactivate_user_with_lockout_guard, which owns that invariant inside the write transaction.

delete/api/users/{user_id}

Path parameters

user_idinteger required

Headers

x-api-tokenstring nullable

Response

Successful Response

Changes

No recorded changes to this endpoint across all 1 revision of this API.