PUT
/
sdk
/
{environmentId}
/
users
/
mfa
/
{mfaDeviceId}
curl --request PUT \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/users/mfa/{mfaDeviceId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "default": true
}'
This response has no body data.

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

mfaDeviceId
string
required

ID of the MFA Device

Body

application/json
default
boolean
required

Whether or not this is the default MFA device for the user