DELETE/user/{username}

Delete a user account

Deletes a user account identified by username. Use username to target the account to delete. Only the authenticated user can delete a user.

1 parameter
usernamestringrequired
The name of the user to delete.

4 status codes
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.
defaultReturned when an unexpected error occurs.

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.