DELETE
/user/{username}Delete a user
Deletes a user account identified by username. Only the authenticated user can perform this operation.
usernamestringrequired
The username of the user to delete.
200Confirms that the user was deleted.
400Returned when the supplied username is invalid.
404Returned when the user is not found.
defaultReturned when an unexpected error occurs.
Error handling
A 400 is returned when username is invalid. A 404 is returned when the user is not found. The authenticated user must perform this operation.