Deletes the CORS (cross-origin resource sharing) configuration for a bucket.
| C# |
DeleteCORSConfigurationResponse DeleteCORSConfiguration( DeleteCORSConfigurationRequest request )
- request (DeleteCORSConfigurationRequest)
- The DeleteCORSConfigurationRequest that defines the parameters of the operation.
Returns a DeleteCORSConfigurationResponse from S3.
If you delete a configuration that does not exist, Amazon S3 will return a success (not an error message).
For more information on CORS configurations, refer: http://docs.amazonwebservices.com/AmazonS3/latest/dev/
| Exception | Condition |
|---|---|
| ArgumentNullException | |
| WebException | |
| AmazonS3Exception |