DELETE/user/{username}

Delete a user account

Deletes the user account identified by username. Use this operation when the authenticated user needs to remove an account. Only the authenticated user can perform this operation.

1 parameter
usernamestringrequired
The name of the user account 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 with the supplied username.
defaultUnexpected error

Error handling

A 400 is returned if the username path parameter is invalid. A 404 is returned when no user exists with the supplied username.