Skip to content

Update the account security

Request

Security
bearerToken
Bodyapplication/jsonrequired
mfaEnabledbooleanrequired

Whether users of the account must configure and use multi-factor authentication on login

Example:true
curl -i -X PUT \
  https://api-v2.dash.app/account-security \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "mfaEnabled": true
  }'

Responses

Success

Bodyapplication/json
resultobjectrequired
permittedActionsArray of objectsrequired
Response
{ "result": { "accountId": "cfb665ca-ce35-4418-b9d5-70ee815db4bd", "mfaEnabled": true }, "permittedActions": [ {} ] }