Authentication
Regenerate recovery codes
Changed onIssues a fresh set of ten recovery codes and invalidates the previous set. Requires the current password, a live authenticator code, or one of the existing recovery codes (which is then consumed).
post/v1/users/self/mfa/recovery-codes
Request
- Base URLhttps://api.assinafy.com.br
- URLhttps://api.assinafy.com.br/v1/users/self/mfa/recovery-codes
- Auth
- HTTP bearer
- or API key in header X-Api-Key
Request body
Example request
{
"code": "123456"
}Response
New recovery codes
Example response
{
"status": 200,
"data": {
"recovery_codes": [
"ABCD-EFGH-JKMN"
]
}
}Changes
- info
endpoint added
- info