Skip to Content
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*user_id
passkey_id*passkey_id

Request Body

application/json
  1. body
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*passkey_name

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X POST 'https://example.com/v2/users/string/passkeys/string' \  -H 'Content-Type: application/json' \  -d '{  "publicKeyCredential": {    "property1": null,    "property2": null  },  "passkeyName": "string"}'
Example Response200
{  "details": {    "sequence": 0,    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string",    "creationDate": "2023-01-15T01:30:15.01Z"  }}

Was this page helpful?