Skip to main content
PATCH
/
webauthn
/
credentials
/
{id}
Updates a WebAuthn credential
curl --request PATCH \
  --url https://{tenant_id}.hanko.io/webauthn/credentials/{id} \
  --header 'Content-Type: application/json' \
  --cookie hanko= \
  --data '
{
  "name": "<string>"
}
'
{
  "code": 400,
  "message": "Bad Request"
}

Documentation Index

Fetch the complete documentation index at: https://docs.hanko.io/llms.txt

Use this file to discover all available pages before exploring further.

Deprecated. Please use the Flow API instead. What’s the Flow API?.

Authorizations

hanko
string
cookie
required

Path Parameters

id
string<uuid4>
required

ID of the WebAuthn credential

Example:

"c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c"

Body

application/json
name
string

A new credential name. Has no technical meaning, only serves as an identification aid for the user.

Response

Credential updated successfully