DELETE
/user/{username}Delete a user
Deletes the user identified by username. Use this operation when the authenticated user needs to remove an existing user account. A successful response confirms that the user was deleted.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
usernamestringrequired
The username of the user to delete.
200Confirms that the user identified by `username` was deleted.
400Returned when the supplied `username` is invalid.
404Returned when no user exists with the supplied `username`.
defaultReturned when an unexpected error occurs.
Error handling
A 400 is returned when username is invalid. A 404 is returned when no user exists for the supplied username, so provide the username of an existing user.