ZITADEL Docs
APIsCore ResourcesV2User

Verify a passkey for a user

Verify the passkey registration with the public key credential..

POST
/v2/users/{user_id}/passkeys/{passkey_id}

Path Parameters

user_id*string
passkey_id*string

Request Body

application/json

publicKeyCredential*

Struct represents a structured data value, consisting of fields which map to dynamically typed values. In some languages, Struct might be supported by a native representation. For example, in scripting languages like JS a struct is represented as an object. The details of that representation are described together with the proto support for the language.

The JSON representation for Struct is JSON object.

passkeyName*string
[key: string]?never

Response Body

application/json

curl -X POST "https://loading/v2/users/string/passkeys/string" \  -H "Content-Type: application/json" \  -d '{    "publicKeyCredential": {      "property1": {},      "property2": {}    },    "passkeyName": "string"  }'
{
  "details": {
    "sequence": 0,
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string",
    "creationDate": "2023-01-15T01:30:15.01Z"
  }
}

Was this page helpful?