AVAILABLE WITH BUSINESS SUBSCRIPTION
Request: DELETE /user/{user_id}
Permissions to Run the Request
Account Owner, Account Administrators, Department Administrators, or custom roles.
Department Administrators and users with a custom role can delete users belonging to the departments they manage and their sub-departments.
Parameter | Description |
---|
Authorization (required) | Access token. You can obtain a token by making a request. |
Possible Response Codes
Code | Text | Description |
---|
204 | OK | A user is deleted. |
400 | Bad Request | A request error. |
401 | Unauthorized | Authorization error. |
403 | Permission Denied | The user doesn't have enough permissions to delete another users. |
Sample Request
DELETE /user/f29d887c-5cff-11e9-9e6a-0a580af40692 https/1.1
Host: api-learn.ispringlearn.com
Authorization: p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE
XML