delete method
Written by
Updated at September 2, 2025
Deletes a CORS configuration for a bucket.
For more information on getting started with the API and the general request format, see How to use the S3 API.
Request
DELETE /{bucket}?cors HTTP/2
Path parameters
| Parameter | Description |
|---|---|
bucket |
Bucket name. |
Request parameters
| Parameter | Description |
|---|---|
cors |
Required parameter that indicates the type of operation. |
Headers
Use only common headers in your requests.
Response
Headers
Responses can only contain common headers.
Response codes
For a list of possible responses, see Responses.
If the CORS configuration does not exist, Object Storage will return the 204 No Content code.