/v2/apis
PUT
/v2/apis
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/v2/apis' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
201 - Example 1
{
"ApiEndpoint": "string",
"ApiGatewayManaged": true,
"ApiId": "string",
"ApiKeySelectionExpression": "string",
"CorsConfiguration": {
"AllowCredentials": true,
"AllowHeaders": [],
"AllowMethods": [],
"AllowOrigins": [],
"ExposeHeaders": [],
"MaxAge": 0
},
"CreatedDate": "string",
"Description": "string",
"DisableSchemaValidation": true,
"DisableExecuteApiEndpoint": true,
"ImportInfo": [],
"Name": "string",
"ProtocolType": "WEBSOCKET",
"RouteSelectionExpression": "string",
"Tags": {
"property1": "string",
"property2": "string"
},
"Version": "string",
"Warnings": []
}
Request
Query Params
basepath
stringÂ
optional
failOnWarnings
stringÂ
optional
Body Params application/json
Responses
Modified at 2023-08-15 05:49:07