tencent cloud

All product documents
APIs
DELETE Bucket encryption
Last updated: 2024-03-28 18:12:17
DELETE Bucket encryption
Last updated: 2024-03-28 18:12:17

Overview

This API is used to delete the default encryption configuration from a bucket.
To call this API, you need to have the DeleteBucketEncryption permission. By default, the bucket owner has permission to call this API and can grant this permission to other users.

Request

Sample request
DELETE /?encryption HTTP 1.1
Host: <BucketName-APPID>.cos.<Region>.myqcloud.com
Date: GMT Date
Authorization: Auth String
Note:
In Host: &lt;BucketName-APPID>.cos.&lt;Region>.myqcloud.com, <BucketName-APPID> is the bucket name followed by the APPID, such as examplebucket-1250000000 (see Bucket Overview > Basic Information and Bucket Overview > Bucket Naming Conventions), and <Region> is a COS region (see Regions and Access Endpoints).
Authorization: Auth String (see Request Signature for more information).
Request parameters
This API has no request parameter.
Request headers
This API only uses common request headers. For more information, please see Common Request Headers.
Request body
The request body of this request is empty.

Response

Response header
This API returns only common response headers. For more information, please see Common Response Headers.
Response body
The response body of this API is empty.
Error codes
This API returns common error responses and error codes. For more information, please see Error Codes.

Sample

Request
The following example deletes the default SSE-COS encryption configuration from the examplebucket-1250000000 bucket:
DELETE /?encryption HTTP 1.1
Host: examplebucket-1250000000.cos.ap-beijing.myqcloud.com
Date: Mon, 17 Jun 2019 08:37:35 GMT
Authorization: signatureValue
Response
HTTP/1.1 204 No Content
Server: tencent-cos
Date: Mon, 17 Jun 2019 08:37:36 GMT
x-cos-request-id: NWQwNzUxNTBfMzdiMDJhMDlfOWM0Nl85NDFk****
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support