This operation is not supported by directory buckets.
See https://www.paws-r-sdk.com/docs/s3_delete_bucket_cors/ for full documentation.
s3_delete_bucket_cors(Bucket, ExpectedBucketOwner = NULL)
[required] Specifies the bucket whose cors
configuration is being deleted.
The account ID of the expected bucket owner. If the account ID that you
provide does not match the actual owner of the bucket, the request fails
with the HTTP status code 403 Forbidden
(access denied).