Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Go
package example import ( context "context" client "github.com/auth0/go-auth0/management/management/client" option "github.com/auth0/go-auth0/management/management/option" ) func do() { client := client.NewClient( option.WithToken( "<token>", ), ) client.Users.RegenerateRecoveryCode( context.TODO(), "id", ) }
{ "recovery_code": "<string>" }
既存の多要素認証(MFA)の回復コードを削除し、新しいコードを生成します。ユーザーが MFA 登録に使用した元のデバイスまたはアカウントにアクセスできない場合は、回復コードを使用して認証できます。
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
多要素認証の回復コードを再生成するユーザーのID。
新しい回復コードが正常に生成されました。
新しいアカウントのリカバリーコード。