---
title: "Rename passkey credential"
method: PATCH
path: "/auth/passkey/credentials/{id}"
tags: ["passkey"]
---

# Rename passkey credential

`PATCH /auth/passkey/credentials/{id}`

## Request

- Base URL: `https://api.instruxi.dev/api/v1/enforcer`
- URL: `https://api.instruxi.dev/api/v1/enforcer/auth/passkey/credentials/{id}`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `X-API-Key`

Sets the name shown in the caller's passkey list (1-100 characters). Scoped to the signed-in person's own passkeys: anyone else's id is 404.

## Path parameters

- `id` string, required

## Request body

- InternalDeliveryHttpHandlerRenamePasskeyReq
  - `friendly_name` string

## Response `200`

OK

- InternalDeliveryHttpHandlerCredentialResponse
  - `data` EnforcerV3InternalDomainPasskeyCredential
    - `aaguid` string: Authenticator is AAGUID as a UUID string ("" when the authenticator sent none or zeros), and Provider the password manager or device it names when known ("iCloud Keychain", "Google Password Manager"...). Derived on read by Describe, never stored.
    - `account_id` string
    - `attestation_type` string
    - `backup_eligible` boolean
    - `backup_state` boolean
    - `created_at` string
    - `friendly_name` string
    - `id` string
    - `last_used_at` string
    - `provider` string
    - `transports` string[]
    - `updated_at` string
  - `success` boolean

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `503`: Service Unavailable

---

[API](https://skmtc.dev/instruxi/apis/enforcer-api.md) · [All operations](https://skmtc.dev/instruxi/apis/enforcer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/instruxi/apis/enforcer-api/revisions/fa82bc1becc0?raw)
