Deleting Tags
Functions
This operation deletes the tags of a bucket.
To perform this operation, you must have the DeleteBucketTagging permission. By default, only the bucket owner can delete the tags of a bucket. The bucket owner can allow other users to perform this operation by setting a bucket policy or granting them the permission.
Request Syntax
DELETE /?tagging HTTP/1.1Host: bucketname.obs.region.example.comDate: dateAuthorization: authorization string
Request Parameters
This request contains no message parameters.
Request Headers
This request uses common headers. For details, see Table 3.
Request Elements
This request involves no elements.
Response Syntax
HTTP/1.1 status_codex-obs-request-id: request idx-obs-id-2: idContent-Length: lengthDate: date
Response Headers
The response to the request uses common headers. For details, see Table 1.
Response Elements
This response contains no elements.
Error Responses
No special error responses are returned. For details about error responses, see Table 2.
Sample Request
DELETE /?tagging HTTP/1.1User-Agent: curl/7.19.7Host: examplebucket.obs.region.example.comAccept: */*Date: Wed, 27 Jun 2018 13:46:58 GMTAuthorization: authorization string
Sample Response
HTTP/1.1 204 No Contentx-obs-request-id: 0002B7532E0000015BEB2C212E53A17Lx-obs-id-2: CqT+86nnOkB+Cv9KZoVgZ28pSgMF+uGQBUC68flvkQeq6CxoCz65wWFMNBpXvea4Content-Length: 0Date: Wed, 27 Jun 2018 13:46:58 GMT
Parent topic: Advanced Bucket Settings
- Functions
- Request Syntax
- Request Parameters
- Request Headers
- Request Elements
- Response Syntax
- Response Headers
- Response Elements
- Error Responses
- Sample Request
- Sample Response