CmdID / aws / aws apigatewayv2
aws apigatewayv2 delete-cors-configuration
Deletes a CORS configuration. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To delete the CORS configuration for an HTTP API
The following delete-cors-configuration example disables CORS for an HTTP API by deleting its CORS configuration.
aws apigatewayv2 delete-cors-configuration --api-id a1b2c3d4Identify--api-idThe API identifier.This command produces no output.
For more information, see Configuring CORS for an HTTP API in the Amazon API Gateway Developer Guide.
Options
--api-idThe API identifier.