Deactivate user

With a tenant in the body, the user loses access to that module, and becomes inactive only if no other module is left. Without a body, the user loses access to every module they are in, becomes inactive, and is removed from People collections. An Account Admin is deactivated on every module of the account. An Organization Admin cannot be deactivated through the API. Needs the write permission and access to every module the user is taken off. Sending no body deactivates the user on every module. To deactivate on one module only, the tenant must be in the body.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The user's id. It is the id field returned by GET /users, GET /users/me and POST /users.

Body Params
tenant
object
Responses

403

The user is an Organization Admin, or the API key has no access to one of the modules. Nothing was changed.

404

No user with this id in the organization, or the user is not in the module.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json