tessera

Renames one of the caller's passkeys.

PATCH
/api/v1/account/passkeys/{id}

Errors

400 when the name is empty or too long, 403 when a bearer token was used, 404 when no passkey of the caller's has that id.

session
cookietessera_session<token>

Set by POST /auth/login. A browser sends it automatically; it is HttpOnly, so page scripts cannot read or set it.

id*string

Which passkey

application/json
  1. body

Body of PATCH /account/passkeys/{id}.

name*string

The new name.

Length1 <= length <= 64

Response Body

Renamed

curl -X PATCH 'https://example.com/api/v1/account/passkeys/string' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Empty