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
public DeleteCORSConfigurationResponse DeleteCORSConfiguration(
	DeleteCORSConfigurationRequest request
request (DeleteCORSConfigurationRequest)
The DeleteCORSConfigurationRequest that defines the parameters of the operation.
Return Value
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:


Assembly: AWSSDK (Module: AWSSDK) Version: (