My Account API
cURL
curl --request POST \ --url https://{host}/me/v1/authentication-methods \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "type": "passkey", "connection": "<string>", "identity_user_id": "<string>" } '
{ "auth_session": "<string>", "authn_params_public_key": { "challenge": "<string>", "pubKeyCredParams": [ { "type": "public-key", "alg": -8 }, { "type": "public-key", "alg": -7 }, { "type": "public-key", "alg": -257 } ], "rp": { "name": "<string>", "id": "<string>" }, "user": { "id": "<string>", "name": "<string>", "displayName": "<string>" }, "authenticatorSelection": { "residentKey": "required", "userVerification": "required" }, "timeout": 60000 } }
Start the enrollment of a supported authentication method.
Bearer and DPoP tokens are supported depending on the API configuration
Request content for creating an authentication method
Authentication method type (factor)
"passkey"
Name of the database connection
1 - 128
^[a-zA-Z0-9-]+$
Identity provider user ID
1 - 255
^\S+$
Enrollment started
The unique session identifier for the enrollment.
Show child attributes
Was this page helpful?