Skip to content
LogoLogo

Rename a passkey

Rename a passkey

PATCH/api/v1/auth/passkeys/{passkey_id}

Changes the user's own label for a passkey. The name is a display string only and has no effect on the credential.

Path Parameters

passkey_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Header Parameters

X-CSRF-TokenRequired
string·min 43·max 43

Session-bound CSRF token. It must exactly match the __Host-assign_csrf cookie sent with the request.

Request Body

application/json
nameRequired
string·min 1·max 64

The user's own label for the device, shown in their passkey list. Surrounding whitespace is trimmed; control characters are rejected.

Responses