Skip to main content

Deactivate User

POST 

/users/:user_id/deactivate

Deactivate a user account. Platform admin access only.

A deactivated user keeps their row — so attribution on the runs, projects, and datasets they created is preserved — but is denied login, API-key, and bearer-token authentication until reactivated. Idempotent: deactivating an already-inactive user simply returns the current state.

Returns 404 if the user does not exist, 403 if the caller is not a platform admin, and 422 if the caller attempts to deactivate their own account.

Request​

Responses​

Successful Response