Vigilfield Docs
API referenceAccount

`POST /account/mfa/totp-enrolments` — verify a code, turn TOTP on and record it.

POST/account/mfa/totp-enrolments

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

POST /account/mfa/totp-enrolments.

Response Body

application/json

curl -X POST "https://example.com/account/mfa/totp-enrolments" \  -H "Content-Type: application/json" \  -d '{    "access_token": "string",    "code": "string"  }'
{  "totp_enrolled": true,  "webauthn_credentials": [    {      "authenticator_attachment": "string",      "created_at": "string",      "credential_id": "string",      "friendly_name": "string",      "transports": [        "string"      ]    }  ]}