Dozor
User

Rename a registered passkey

Lets the user distinguish 'MacBook Touch ID' from 'iPhone Face ID' in the authenticators list. Scoped by `(credentialID, userId)` so a credentialID leak can't let another user rename the passkey.

PATCH/api/user/passkeys/{credentialId}

Lets the user distinguish 'MacBook Touch ID' from 'iPhone Face ID' in the authenticators list. Scoped by (credentialID, userId) so a credentialID leak can't let another user rename the passkey.

Path Parameters

credentialId*string

WebAuthn credential id (base64url string)

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PATCH "https://loading/api/user/passkeys/string" \  -H "Content-Type: application/json" \  -d '{    "name": "iPhone Face ID"  }'
Empty
Empty
Empty
Empty