Generate backup codes
GET/identity/v2/manage/account/2fa/backupcode
Generates a new set of backup codes for the specified user (uid
). Returns an error if backup codes already exist.
Request
Responses
- 200
- 400
- 401
- 403
OK: The request was successful.
Status Bad Request: The request could not be understood by the server due to malformed syntax.
Status Unauthorized: The request requires user authentication.
Status Forbidden: The client does not have permission to access the resource.