All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

DELETE Bucket

Last updated:2021-09-14 16:17:59

Description

This DELETE operation will delete the bucket given in the URI. You must ensure that all objects in the bucket are deleted before deleting it.

Request

Grammar

DELETE / HTTP/1.1
Host: {BucketName}.{endpoint}
Date: {date}
Authorization: {SignatureValue}

Note:

Request parameters

The interface does not use request parameters.

Request header

This interface only uses common request headers. For more information, please click Public request headers.

Request content

The interface does not use the requested content.

Response

Response header

This interface can use all common response headers. For more information, please click Public response headers.

Response content

The interface does not return the corresponding content.

Special errors

The interface does not return any special errors.

Example

Request example

DELETE / HTTP/1.1
Host: ks3-example.ks3-cn-beijing.ksyuncs.com
Date: Wed, 01 Mar 2006 12:00:00 GMT
Authorization: authorization string

Response example

HTTP/1.1 204 No Content
Date: Wed, 01 Mar 2006 12:00:00 GMT
Connection: close
Server: Tengine

Interface details

  • If the Bucket is not empty, KS3 will return 409, and the corresponding error code is BucketNotEmpty
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback