---
title: "Update Passkey"
method: PATCH
path: "/v1/passkeys/{id}"
tags: ["BackendService"]
---

# Update Passkey

`PATCH /v1/passkeys/{id}`

Update a Passkey.

## Path parameters

- `id` string, required

## Request body

- Passkey — Passkey represents a WebAuthn public key credential registered by a User.
  - `id` string — The Passkey ID. Starts with `passkey_...`.
  - `userId` string — The User this Passkey belongs to.
  - `createTime` string, date-time — The timestamp of when the Passkey was created.
  - `updateTime` string, date-time — The timestamp of when the Passkey was last updated.
  - `disabled` boolean — Indicates whether the Passkey is disabled.
  - `credentialId` string, bytes — The unique credential ID for the Passkey, as a binary value.
  - `publicKeyPkix` string — The public key associated with the Passkey, in PEM-encoded PKIX format. Starts with `-----BEGIN PUBLIC KEY-----`.
  - `aaguid` string — The Authenticator Attestation GUID (AAGUID) for the Passkey.
  - `rpId` string — The relying party ID associated with the Passkey.

## Response `200`

OK

- UpdatePasskeyResponse
  - `passkey` Passkey — Passkey represents a WebAuthn public key credential registered by a User.
    - `id` string — The Passkey ID. Starts with `passkey_...`.
    - `userId` string — The User this Passkey belongs to.
    - `createTime` string, date-time — The timestamp of when the Passkey was created.
    - `updateTime` string, date-time — The timestamp of when the Passkey was last updated.
    - `disabled` boolean — Indicates whether the Passkey is disabled.
    - `credentialId` string, bytes — The unique credential ID for the Passkey, as a binary value.
    - `publicKeyPkix` string — The public key associated with the Passkey, in PEM-encoded PKIX format. Starts with `-----BEGIN PUBLIC KEY-----`.
    - `aaguid` string — The Authenticator Attestation GUID (AAGUID) for the Passkey.
    - `rpId` string — The relying party ID associated with the Passkey.

## Other responses

- `400` — API Error
- `401` — API Error
- `403` — API Error
- `404` — API Error

---

[API](https://skmtc.net/tesseral-labs/apis/backendservice-api.md) · [All operations](https://skmtc.net/tesseral-labs/apis/backendservice-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tesseral-labs/backendservice-api/versions/fe83f78ae20a/schema)
