ColdStack Docs
Search
K
Comment on page

PutObjectAcl

Set's objects visibility. At the moment, for security and simplicity of use ColdStack supports only private and publlic-read canned ACLs.

Request

PUT /{bucket}/{key}?acl HTTP/1.1
X-Amz-ACL: {CannedACL}

Path parameters

Parameter
Description
bucket
Name of the bucket.
key
Key of the object.
CannedACL
The canned ACL setting. Should be private or public-read

Headings

Use only generic headers in your request .

Response

Headings

The response can only contain general headers .

Response codes

For a list of possible responses, see the Responses section .
A successful response does not contain additional data and means that the object was successfully renamed.