Delete an existing user
- Dernière mise à jour2020/04/15
Delete an existing user
Use the Delete Existing User API to delete an existing user in the Control Room.
Prerequisites
- Edit Users
- Users who have
edit users
permissions can delete an existing user. - JSON Web Token (JWT)
- All Control Room APIs require a JSON Web Token (JWT) to access the APIs. Generate an authentication token using the Authentication API. See Enterprise 11 Authentication API.
- URL:
http://<your_control_room_url>/v1/usermanagement/users/{ID}
Replace the content in the angle brackets with your Control Room URL.
- Method: DELETE
Procedure
Note: You can also run REST requests from a command terminal. The following is a curl
request example. This example is formatted for readability. Replace the text inside
the angle brackets,
<authentication_token>
, with your
authentication token.curl -X DELETE "http://<your_control_room_url>/v1/usermanagement/users/15"
-H "accept: application/json"
-H "X-Authorization: <authentication_token>"
-H "Content-Type: application/json" -d "{15}"