removeWebAuthnDevice

client.removeWebAuthnDevice(
    accessToken: string,
    deviceId: string
)

About this command

When authenticated, the user can remove a registered FIDO2 device.

  • The WebAuthn feature must be enabled on your Purse Identity account.

Examples

client.removeWebAuthnDevice('eyJ0eXAiOiJKV1QiL...', 'AcfbMjJcS7vE46R3WHOJL...')

Parameters

accessToken string

The authorization credential JSON Web Token (JWT) used to access the Purse Identity API, less than five minutes old.

deviceId string

The identifier of the device.

Response

Type: Promise[void]

AI Assistant

Confirm Deletion