Skip to content

Commit 932e788

Browse files
/object-storage/buckets/{clusterId}/{bucket}/access is now PUT
Endpoint still supports POST method, but docs now show it as PUT for consistency with API convention and new GET method for this endpoint.
1 parent 68de937 commit 932e788

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

openapi.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11121,12 +11121,12 @@ paths:
1112111121
required: true
1112211122
schema:
1112311123
type: string
11124-
post:
11124+
put:
1112511125
operationId: modifyObjectStorageBucketAccess
1112611126
x-linode-cli-skip: true
1112711127
servers:
1112811128
- url: https://api.linode.com/v4
11129-
summary: Object Storage Bucket Access Modify
11129+
summary: Object Storage Bucket Access Update
1113011130
description: |
1113111131
Allows changing basic Cross-origin Resource Sharing (CORS) and Access Control Level (ACL) settings.
1113211132
Only allows enabling/disabling CORS for all origins, and/or setting canned ACLs.
@@ -11178,7 +11178,7 @@ paths:
1117811178
source: >
1117911179
curl -H "Content-Type: application/json" \
1118011180
-H "Authorization: Bearer $TOKEN" \
11181-
-X POST -d '{
11181+
-X PUT -d '{
1118211182
"cors_enabled": true,
1118311183
"acl": "private"
1118411184
}' \

0 commit comments

Comments
 (0)