Delete Object Tagging

Last updated:2021-09-14 16:18:18

You can call this operation to delete all tags of a specified object.

Permission

To call this operation, you must have the DeleteObjectTagging permission on the object. KS3 returns corresponding information based on whether you have the DeleteObjectTagging permission. If you do not have the DeleteObjectTagging permission on the object, KS3 returns an HTTP 403 error with the error message “access denied.”

Request syntax

DELETE /<ObjectKey>?tagging
Host: <BucketName>.<Region>.ksyun.com
Date: GMT Date
Authorization: SignatureValue

References:

Request headers

A DeleteObjectTagging request contains only common request headers.For more information, see common request headers.

Response headers

The response to a DeleteObjectTagging request contains only common response headers.For more information, see common response headers.

Response body

None

Special errors

No special errors are returned.

Examples

  • Sample request
DELETE /<ObjectKey>?tagging HTTP 1.1
Host:<BucketName>.<Region>.ksyuncs.com
Date: GMT Date
Authorization: Auth String 
  • Sample response
204 (No Content)
content‐length: 0
server:ks3
x‐kss‐request‐id: 5CAC0AD16D0232E2051B****
date: Tue, 09 Apr 2020 03:00:33 GMT

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈