GET
/
sdk
/
{environmentId}
/
users
/
mfa
/
recovery
curl --request GET \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/users/mfa/recovery \
  --header 'Authorization: Bearer <token>'
{
  "count": 123,
  "recoveryCodes": [
    "<string>"
  ]
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Response

200 - application/json
count
integer
required

The number of recovery codes available

recoveryCodes
string[]
required

Recovery codes for the user to use in case they lose access to their MFA device