POST
/v1/auth/webauthn/update/start

Add a new WebAuthn device to an existing user

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<Project ID:Refresh JWT\>

Try it

/v1/auth/webauthn/update/start

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

loginIdstring

originstring

passkeyOptionsobject

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/auth/webauthn/update/start" \
  -d '{
  "loginId": "string",
  "origin": "string",
  "passkeyOptions": {
    "authenticatorSelection": {
      "authenticatorAttachment": 0,
      "requireResidentKey": 0,
      "residentKey": 0,
      "userVerification": 0,
      "extensionsJSON": "string"
    },
    "attestation": false,
    "userVerification": 0,
    "extensionsJSON": "string"
  }
}'

{
  "transactionId": "string",
  "options": "string",
  "create": true
}

Was this helpful?