Delete a user

POSThttp://localhost:4000/api/users/remove

Permanently deletes a team member. 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.

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.