DELETE
/user/{username}Delete a user account
Deletes the user account identified by a username. Supply the username of the account to remove; the authenticated user can perform this operation.
usernamestringrequired
The username of the user account to delete.
200Confirms 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 username is invalid. A 404 is returned when no user is found for the username path parameter.