DELETE/user/{username}

Delete a user

Deletes the user identified by the supplied username. Use this operation to remove a user resource; only the authenticated user can perform it.

1 parameter
usernamestringrequired
The name of the user to delete.

4 status codes
200Returns confirmation that the user was deleted.
400Returned when the supplied username is invalid.
404Returned when no user is found for the supplied username.
defaultUnexpected error

Error handling

A 400 is returned when the supplied username is invalid. A 404 is returned when no user is found for the supplied name. The username path parameter identifies the user to delete.