aws s3api delete-bucket-cors
This operation is not supported for directory buckets. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--bucketSpecifies the bucket whose cors configuration is being deleted.--expected-bucket-ownerThe account ID of the expected bucket owner.