File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -11346,21 +11346,14 @@ paths:
1134611346 - personalAccessToken: []
1134711347 - oauth:
1134811348 - object_storage:read_write
11349- parameters:
11350- - name: name
11351- in: query
11352- required: true
11353- description: >
11354- The `name` of the object for which to update its Access Control List (ACL).
11355- Use the [Object Storage Bucket Contents List](/docs/api/object-storage/#object-storage-bucket-contents-list)
11356- endpoint to access all object names in a bucket.
11357- schema:
11358- type: string
1135911349 requestBody:
1136011350 description: The changes to make to this Object's access controls.
1136111351 content:
1136211352 application/json:
1136311353 schema:
11354+ required:
11355+ - acl
11356+ - name
1136411357 properties:
1136511358 acl:
1136611359 type: string
@@ -11374,6 +11367,12 @@ paths:
1137411367 The Access Control Level of the bucket, as a canned ACL string.
1137511368 For more fine-grained control of ACLs, use the S3 API directly.
1137611369 example: public-read
11370+ name:
11371+ type: string
11372+ description: >
11373+ The `name` of the object for which to update its Access Control List (ACL).
11374+ Use the [Object Storage Bucket Contents List](/docs/api/object-storage/#object-storage-bucket-contents-list)
11375+ endpoint to access all object names in a bucket.
1137711376 responses:
1137811377 '200':
1137911378 description: The Object's canned ACL and policy.
@@ -11407,9 +11406,10 @@ paths:
1140711406 curl -H "Content-Type: application/json" \
1140811407 -H "Authorization: Bearer $TOKEN" \
1140911408 -X PUT -d '{
11410- "acl": "public-read"
11409+ "acl": "public-read",
11410+ "name": "example.txt"
1141111411 }' \
11412- https://api.linode.com/v4/object-storage/buckets/us-east-1/example-bucket/object-acl?name=example.txt
11412+ https://api.linode.com/v4/object-storage/buckets/us-east-1/example-bucket/object-acl
1141311413 /object-storage/buckets/{clusterId}/{bucket}/object-list:
1141411414 parameters:
1141511415 - name: clusterId
You can’t perform that action at this time.
0 commit comments