← Back to WebAuthn domain

WebAuthn.removeCredential

Removes a credential from the authenticator.

Domain: WebAuthn experimental

Parameters

NameTypeDescription
authenticatorIdAuthenticatorId
credentialIdstring

Example Request

{
  "id": 1,
  "method": "WebAuthn.removeCredential",
  "params": {
    "authenticatorId": "authenticatorId-value",
    "credentialId": "credentialId-value"
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('WebAuthn.removeCredential', {"authenticatorId": "authenticatorId-value", "credentialId": "credentialId-value"});
console.log(result);