Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

Delete User

view on GitHub

Delete User is available as both a pgutil command and an HTTP Request, and will delete a specified User account from ProGet. Note that it's not considered an error to delete a User that does not exist.

Command Specification (CLI)

The security users delete command is used to delete a User account from ProGet.

The --username options is always required.

Deleting a User requires the user name (e.g. "John Smith"):

pgutil security users delete --username="John Smith"

HTTP Request Specification

To delete a User, simply DELETE to the following URL with the user query argument specifying the username:

DELETE /api/security/users/delete?user=«username»

HTTP Response Specification

A 200 response will indicate the User has been deleted from ProGet. a 403 response indicates a missing, unknown, or unauthorized API Key.