How to delete a users account using REST

Document ID : KB000103693
Last Modified Date : 28/06/2018
Show Technical Document Details
Question:
How to delete a users account using REST?
Environment:
PM All Versions
Answer:
Make sure to set the Header to application/xml

Using this URL in the REST client:
http://<PC HOSTNAME>:8181/pc/center/webservice/users/userName/<USER ACCOUNT NAME>

This will successfully remove the user account from PM