DELETE
/user/{username}Delete a user account
Deletes a user account identified by username. Supply the username path parameter for the account to remove. Only the authenticated user can perform this operation.
usernamestringrequired
The name of the user account to delete.
200Returns confirmation that the user was deleted.
400Returned when the supplied username is invalid.
404Returned when no user is found with the supplied username.
defaultReturned when an unexpected error occurs.
Error handling
A 400 is returned when the username path parameter is invalid. A 404 is returned when no user is found with that username. Only the authenticated user can perform this operation.