Skip to main content
POST
/
v1
/
ui
/
provider
/
auth
/
two-factor-verifications
Verify TOTP token to complete 2FA setup
curl --request POST \
  --url https://api.example.com/v1/ui/provider/auth/two-factor-verifications \
  --header 'Content-Type: application/json' \
  --data '
{
  "twoFactorToken": "<string>"
}
'
{
  "enabled": true
}

Body

application/json
twoFactorToken
string
required
Minimum string length: 1

Response

2FA enabled

enabled
boolean