URL

POST https://{api-url}/api/v2/tenants/{tenantId}/users/{userId}/{action}

Sample URLs

To deactivate a user:

https://{api-url}/api/v2/tenants/msp_6/users/USR0000000020/DEACTIVATE

When a user is deactivated, references of the user in escalate alert policies is removed. Update the escalate alert policies accordingly.

Parameters

The following field is mandatory:

FieldData TypeDescription
deactivateReasonStringReason for deactivation.

Sample request

{
	"deactivateReason": "Reason for deactivation"
}

Status code

200 OK