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
header
required

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

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
mfaDeviceId
string
required

ID of the MFA Device

Required string length: 36

Body

application/json
default
boolean
required

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