Delete a User – DELETE /Users/{id}
Owned by David P (Deactivated)
Delete a user according to User Id.
The ‘Manage Users’ permission is required to execute this API.
Usage:
- GET /Users and get details of all users
- DELETE /Users/{id} and delete a user
URL
/cxrestapi/auth/Users/{id}
Method:
DELETE
Media Type (header):
Authorization: Bearer <access token value>
Content-Type: application/json;v=1.0
Parameters
Required:
id=[integer] – Unique Id of the User
Success Response:
Code: 204 Success
Error Response:
Code: 400 Returns error messages
Code: 401 Unauthorized
Code: 403 Forbidden
Code: 404 User not found
Sample Response:
no content
Notes:
Delete a user according to the User Id. Once the request is successful, it does not return any content. If the request fails, it returns an error response.
Related content
Send Documentation Feedback - If you have comments about this documentation, you can contact the documentation team by sending your feedback to us. We appreciate your feedback!