← Back to WebAuthn domain

WebAuthn.clearCredentials

Clears all the credentials from the specified device.

Domain: WebAuthn experimental

Parameters

NameTypeDescription
authenticatorIdAuthenticatorId

Example Request

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

Example Response

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

Usage in Node.js

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