DELETE v1/bunits/{bunitId}/users/{userId}?deleteSubscriptions={deleteSubscriptions}&anonymize={anonymize}
Deletes a user resource.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bunitId |
The ID of the business unit to whom the user belongs. | integer |
Required |
userId |
The ID of the user to delete | integer |
Required |
deleteSubscriptions |
If subscription of user should be deleted set to true otherwise false. If not set an exception will be thrown if user is associated with any subscriptions | boolean |
None. |
anonymize |
Anonymizing user will set email, name and phone to empty strings to prevent future identification of the person | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
None.