Generate backup codes by token
GET/identity/v2/auth/account/2fa/backupcode
This API generates a new set of backup codes for a user who has multi-factor authentication (MFA) enabled. If the user already has existing backup codes, this operation will return an error.
Request
Responses
- 200
- 400
- 403
OK: The request was successful.
Status Bad Request: The request could not be understood by the server due to malformed syntax.
Status Forbidden: The client does not have permission to access the resource.