Authentication (Allauth Headless)
List recovery codes
Changed onList recovery codes.
get/api/v2/allauth/app/v1/account/authenticators/recovery-codes
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
client'app' | 'browser' required
The type of client accessing the API.
Headers
X-Session-Tokenstring
Session token. Only needed when client is equal to app.
Response
Information on the recovery codes.
Example response
{
"data": {
"last_used_at": 1711555057.065702,
"created_at": 1711555057.065702,
"total_code_count": 10,
"unused_code_count": 7,
"unused_codes": [
"314159"
]
}
}Changes
- info
added the required property
//to the response with the status
- info