Vigilfield Docs
API referenceAccount

`POST /account/mfa/webauthn-credential-renames` — name a recorded passkey or security key. The name is ours, not Cognito's: Cognito generates its own and offers no way to change it.

POST/account/mfa/webauthn-credential-renames

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

POST /account/mfa/webauthn-credential-renames body.

Response Body

application/json

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