Delete a user
Available in versions: 2020 SP3 and later
Description
Deletes a user according to the user's ID.
URL
/Admin/rest/v1/users/{userID}
Remarks
None
HTTP Method
DELETE: Deletes the specified user.
Request
Headers:
Content-Type: application/xml
Accept: application/json, application/xml
Cookies:
ADM_LWSSO={AdmLwssoCookie};
Request Body:
None

DELETE http://<LRE_Server>/Admin/rest/v1/users/2
Content-Type: application/xml
Accept: application/json
Cookie: ADM_LWSSO={AdmLwssoCookie};
Response
Headers:
None
Cookies:
None
HTML Return Code:
One of the HTTP Return Codes.
Upon successful user deletion, returns HTTP status 200 (OK).
See Also
Add a user
Update a user
Assign project and role to user
Get user by ID
Get all users
Get list of users by query