Deletes the encryption rule for a bucket.
DELETE /?encryption HTTP/1.1 Date: GMT Date Host: BucketName.oss.aliyuncs.com Authorization: SignatureValue
- Only the bucket owner and authorized RAM users can delete the encryption rule for a bucket. Otherwise, the 403 Forbidden error is returned with the error code: AccessDenied.
- If the target bucket does not exist, the 404 error is returned with the error code: NoSuchBucket.
- Request example:
DELETE /?encryption HTTP/1.1 Host: oss-example.oss-cn-hangzhou.aliyuncs.com Date: Tue, 20 Dec 2018 11:35:24 GMT Authorization: OSS qn6qrrqxo2oawuk53otf****:6ZVHOehYzxoC1yxRydPQs/Cn****
- Response example:
HTTP/1.1 204 OK x-oss-request-id: 5C22E0EFD127F6810B1A92A8 Date: Tue, 20 Dec 2018 11:37:05 GMT Connection: keep-alive Content-Length: 0