Endpoint
Headers
JWT token obtained from login or registration. Pass the token directly as the header value.
Request body
Current password of the user account to confirm deletion.
Response
Returns204 No Content on successful deletion with an empty response body.
Error codes
401 Unauthorized
Authorization token was not provided or is invalid, or the password confirmation was incorrect.This error can occur for two reasons:Invalid token (
UnauthorizedException):- The
Authorizationheader is missing - The JWT token is invalid or expired
- The JWT token does not correspond to an existing user
PasswordIncorrectForUserDeletionException):- The provided password does not match the user’s current password