Skip to main content
PATCH
/
accounts
/
mfa-settings
Update MFA settings
curl --request PATCH \
  --url https://api.quiva.ai/accounts/mfa-settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "totp_enabled": true,
  "passkey_enabled": false
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
totp_enabled
boolean

Enable or disable TOTP (Time-based One-Time Password)

passkey_enabled
boolean

Enable or disable passkey authentication

Response

MFA settings updated successfully

message
string