Verify Recovery Code
GET api/account/verify-recovery-code/{recovery_code}
This is used to verify the recovery code.
Example Request
curl -X 'GET' \ 'http://localhost:8080/api/account/verify-recovery-code/RECOVER_CODE'Paramaters
recovery_code
Type: Path
Data Type: Integer
Required: Yes
Description: The recovery code used to recover the user’s account.
Responses
200 - OK
The request was successful
Content Type: text/plain
Content:
Recovery Code is valid400 - Bad Request
Error Message
Content Type: text/plain
Content:
Recovery code is invalid or expired401 - Unauthorized
The request requires valid bearer token, but none were provided, or the bearer token is invalid.
429 - Too Many Requests
The user has exceeded the rate limit of 60 requests per minute.
500 - Internal Server Error
There is an issue with the backend. Sentry will provide a more detailed report on the problem.