router/api-router.go:219。controller.UpdatePasskeyDomains,controller/option.go:138。option:write。同时需要满足接口的角色和业务要求。Authorization: Bearer ********************curl --location --request PUT '/api/option/passkey/domains' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"rp_id": "string",
"legacy_rp_ids": "string",
"origins": "string",
"preview": true,
"removal_confirmation": "string",
"property1": "string",
"property2": "string"
}'{
"success": true,
"message": "string",
"data": {
"rp_id": "string",
"legacy_rp_ids": "string",
"origins": "string",
"previous_rp_id": "string",
"effective_rp_id": "string",
"removed_rp_ids": [
"string"
],
"affected_credentials": 0,
"unknown_credentials": 0,
"confirmation_required": true,
"removal_confirmation": "string",
"property1": "string",
"property2": "string"
},
"property1": "string",
"property2": "string"
}