POST
/
sdk
/
{environmentId}
/
users
/
mfa
/
auth
/
recovery
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/users/mfa/auth/recovery \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "code": "<string>"
}'
{
  "jwt": "<string>",
  "minifiedJwt": "<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

Body

application/json
code
string
required

A one time use recovery code

Response

200 - application/json
jwt
string
required

The JWT token for the user

minifiedJwt
string
required

The JWT token for the user