AWS SDK for .NET Documentation
DeleteCORSConfiguration Method (request)
AmazonAmazon.S3AmazonS3ClientDeleteCORSConfiguration(DeleteCORSConfigurationRequest) Did this page help you?   Yes   No    Tell us about it...
Deletes the CORS (cross-origin resource sharing) configuration for a bucket.
Declaration Syntax
C#
public DeleteCORSConfigurationResponse DeleteCORSConfiguration(
	DeleteCORSConfigurationRequest request
)
Parameters
request (DeleteCORSConfigurationRequest)
The DeleteCORSConfigurationRequest that defines the parameters of the operation.
Return Value
Returns a DeleteCORSConfigurationResponse from S3.
Remarks

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/

Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)