DELETE
/user/{username}Delete a user resource
Deletes the user resource identified by the supplied username. Use the username path parameter to specify which user to remove. Only the logged-in user can perform this operation.
usernamestringrequired
The username of the user to delete.
200Returns a 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 username.