Updates a Passkey or WebAuthn registration.
Update WebAuthn registration
PUThttps://test.stytch.com/v1/webauthn/{webauthn_registration_id}
Path parameters
webauthn_registration_id* string
Body parameters
name string
Response fields
status_code int
request_id string
webauthn_registration object
curl --request PUT \
--url https://test.stytch.com/v1/webauthn/webauthn-registration-test-5c44cc6a-8af7-48d6-8da7-ea821342f5a6 \
-u 'PROJECT_ID:SECRET' \
-H 'Content-Type: application/json' \
-d '{
"name": "Google Passkey"
}'
RESPONSE
200
{
"request_id": "request-id-test-b05c992f-ebdc-489d-a754-c7e70ba13141",
"webauthn_registration": {
"webauthn_registration_id": "webauthn-registration-test-5c44cc6a-8af7-48d6-8da7-ea821342f5a6",
"domain": "example.com",
"user_agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36",
"authenticator_type": "platform",
"verified": true,
"name": "Google Passkey"
}
}