Vigilfield Docs
API referenceAccount

`POST /account/mfa/webauthn-credentials` — finish the registration and record the new credential.

POST/account/mfa/webauthn-credentials

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

POST /account/mfa/webauthn-credentials.

Response Body

application/json

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