HEX
Server: LiteSpeed
System: Linux s1080.usc1.mysecurecloudhost.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User: justofft (2594)
PHP: 7.3.33
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/awscli/examples/apigatewayv2/delete-cors-configuration.rst
**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 a1b2c3d4

This command produces no output.

For more information, see `Configuring CORS for an HTTP API <https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html>`__ in the *Amazon API Gateway Developer Guide*.