API referenceAccount
`POST /account/mfa/webauthn-credential-removals` — delete a passkey or security key in Cognito and unrecord it.
POST
/account/mfa/webauthn-credential-removalsRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
POST /account/mfa/webauthn-credential-removals.
Response Body
application/json
curl -X POST "https://example.com/account/mfa/webauthn-credential-removals" \ -H "Content-Type: application/json" \ -d '{ "access_token": "string", "credential_id": "string" }'{ "totp_enrolled": true, "webauthn_credentials": [ { "authenticator_attachment": "string", "created_at": "string", "credential_id": "string", "friendly_name": "string", "transports": [ "string" ] } ]}