History
Introduction
API Category
Making API Requests
Region APIs
Instance APIs
Cloud Hosting Cluster APIs
Image APIs
Instance Launch Template APIs
Placement Group APIs
Key APIs
Security Group APIs
Network APIs
Data Types
Error Codes
DELETE Object tagging), ensure that the root account has authorized it to do so.VersionId parameter in the request.DELETE /<ObjecKey>?tagging&VersionId=VersionId HTTP 1.1Host:<BucketName-APPID>.cos.<Region>.myqcloud.comDate:dateAuthorization: Auth String
examplebucket-1250000000 (see Bucket Overview > Basic Information and Bucket Overview > Bucket Naming Conventions), and <Region> is a COS region (see Regions and Access Endpoints).Name | Description | Type | Required |
versionId | Version ID of the object (if versioning is enabled). If this parameter is not specified, tags of the latest-version object will be deleted. | string | No |
exampleobject.txt object in the examplebucket-1250000000 bucket:DELETE /exampleobject.txt?tagging HTTP/1.1User-Agent: curl/7.29.0Accept: */*Host: examplebucket-1250000000.cos.ap-beijing.myqcloud.comAuthorization: Auth StringContent-Length: 0Content-Type: application/xml
HTTP/1.1 204 No ContentContent-Type: application/xmlConnection: closeDate: Fri, 19 Jan 2020 11:40:22 GMT
exampleobject.txt object whose version ID is MTg0NDUxNTgwODg2MTEzMTQyOTI in the examplebucket-1250000000 bucket:DELETE /exampleobject.txt?tagging&VersionId=MTg0NDUxNTgwODg2MTEzMTQyOTI HTTP/1.1User-Agent: curl/7.29.0Accept: */*Host: examplebucket-1250000000.cos.ap-beijing.myqcloud.comAuthorization: Auth StringContent-Length: 0Content-Type: application/xml
HTTP/1.1 204 No ContentContent-Type: application/xmlConnection: closeDate: Fri, 19 Jan 2020 11:45:22 GMT
피드백