curl --location --request PATCH '/v2/apis//routes/' \
--header 'Content-Type: application/json' \
--data-raw '{
"apiKeyRequired": true,
"authorizationScopes": [
"string"
],
"authorizationType": "NONE",
"authorizerId": "string",
"modelSelectionExpression": "string",
"operationName": "string",
"requestModels": {
"property1": "string",
"property2": "string"
},
"requestParameters": {
"property1": {
"Required": true
}
},
"routeKey": "string",
"routeResponseSelectionExpression": "string",
"target": "string"
}'
{
"ApiGatewayManaged": true,
"ApiKeyRequired": true,
"AuthorizationScopes": {},
"AuthorizationType": "NONE",
"AuthorizerId": "string",
"ModelSelectionExpression": "string",
"OperationName": "string",
"RequestModels": {
"property1": "string",
"property2": "string"
},
"RequestParameters": {
"property1": {
"Required": true
}
},
"RouteId": "string",
"RouteKey": "string",
"RouteResponseSelectionExpression": "string",
"Target": "string"
}