Delete CORS Rules
Remove the cross-origin (CORS) configuration from a bucket you own.
| Endpoint | Method | Admin Required |
|---|---|---|
/api/v1/buckets/:bucketName/cors | DELETE | No |
Removes every CORS rule from a bucket you own. Browser requests to the bucket's S3 endpoints are refused by the browser from then on. Deleting the configuration of a bucket that has none succeeds as well.
Path Parameters
bucketName
string required
The name of the bucket.
Response
Returns 204 No Content on success.
Errors
| Status | Reason |
|---|---|
400 | Missing bucket name |
404 | Bucket not found (or not owned by you) |