Activate or deactivate a user

POSThttp://localhost:4000/api/users/activateUser

Turns an account on or off. When you deactivate someone, you can move their clients to another user.

Your API key needs the users.MANAGE_ORG_USERS permission.

Body Params

userIdintegerrequired

ID of the user.

activatebooleanrequired

True to activate, false to deactivate.

assignUserClientsToUserIdinteger

ID of the user who takes over the clients.

Responses

200Successful response.
400The request is not valid.
401The API key is missing, invalid, expired or disabled.
403The API key does not have the permission this endpoint needs.