Skip to Content
ZITADEL Docs
APIsCore ResourcesV2User

Create a passkey registration link for a user

Create a passkey registration link which includes a code and either return it or send it to the user..

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

Path Parameters

user_id*user_id

Request Body

application/json
  1. body
returnCode*

Response Body

Success

application/json
  1. response
details?
code?|

in case the medium was set to return_code, the code will be returned

Example Request
curl -X POST 'https://example.com/v2/users/string/passkeys/registration_link' \  -H 'Content-Type: application/json' \  -d '{  "returnCode": {}}'
Example Response200
{  "details": {    "sequence": 0,    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string",    "creationDate": "2023-01-15T01:30:15.01Z"  },  "code": {    "id": "string",    "code": "string"  }}

Was this page helpful?