Docs

PasskeyResource

An interface that describes a passkey associated with a user response.

Properties

PropertiesTypeDescription
idstringThe passkey's unique ID generated by Clerk.
verificationVerificationVerification details for the passkey.
namestringThe passkey's name.
createdAtstringThe date and time when the passkey was created.
updatedAtstringThe date and time when the passkey was updated.
lastUsedAtstringThe date and time when the passkey was last used.

Methods

update()

Updates the name of the associated passkey for the signed-in user.

  function update: (params: { name: string }) => Promise<PasskeyResource>;

For an example of how to use these methods, see the Passkeys custom flows documentation.

delete()

Deletes the associated passkey for the signed-in user.

  function delete: () => Promise<DeletedObject>;

Learn more:

For an example of how to use these methods, see the Passkeys custom flows documentation.

Feedback

What did you think of this content?