Skip to main content

PutBucketTagging for Cloud Storage

PutBucketTagging - Amazon Simple Storage Service

Example PutBucketTagging request

PUT /versionedbucket?tagging=null HTTP/1.1
Host: [region].telnyxstorage.com
Accept: text/xml
x-amz-acl: private
Content-Type: application/xml
X-Amz-Content-Sha256: beaead3198f7da1e70d03ab969765e0821b24fc913697e929e726aeaebf0eba3
X-Amz-Date: 20230927T182056Z
Authorization: AWS4-HMAC-SHA256 Credential=YOUR_TELNYX_API_KEY/20230927/test/execute-api/aws4_request, SignedHeaders=accept;content-length;content-type;host;x-amz-acl;x-amz-content-sha256;x-amz-date, Signature=7eb598e87b95668e4502fef0694a515e960a98890c30185fc974bea5d8e72fe6
Content-Length: 310

<?xml version="1.0" encoding="UTF-8"?>
<Tagging xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<TagSet>
<Tag>
<Key>dimention_1</Key>
<Value>value_1</Value>
</Tag>
<Tag>
<Key>dimention_2</Key>
<Value>value_2</Value>
</Tag>
</TagSet>
</Tagging>