DELETE/user/{username}

Delete a user

Deletes a user account identified by username. Only the authenticated user can perform this operation.

1 parameter
usernamestringrequired

The username of the user to delete.

4 status codes
200Confirms that the user was deleted.
400Returned when the supplied username is invalid.
404Returned when the user is not found.
defaultReturned when an unexpected error occurs.

Error handling

A 400 is returned when username is invalid. A 404 is returned when the user is not found. The authenticated user must perform this operation.