DELETE
/user/{username}Delete a user
Deletes a user account identified by its username. Use the username of the account to remove; 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 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 username path parameter.