CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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

1 in the AWS CLI reference
--api-idThe API identifier.