Skip to content

Commit f7209b2

Browse files
authored
Merge pull request #762 from bbiggerr/fix/obj-key-create-sample
[Fix] Object Storage Key Create shell command example
2 parents aa13f1a + 1e9adea commit f7209b2

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

openapi.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16341,23 +16341,23 @@ paths:
1634116341
- lang: Shell
1634216342
source: >
1634316343
curl -H "Content-Type: application/json" \
16344-
-H "Authorization: Bearer $TOKEN" \
16345-
-X POST -d '{
16346-
"label": "my-object-storage-key",
16347-
"bucket_access": [
16348-
{
16349-
"cluster": "ap-south-1",
16350-
"bucket_name": "bucket-example-1",
16351-
"permissions": "read_write"
16352-
},
16353-
{
16354-
"cluster": "us-east-1",
16355-
"bucket_name": "bucket-example-2",
16356-
"permissions": "read_only"
16357-
}
16358-
]
16359-
}' \
16360-
https://api.linode.com/v4/object-storage/keys
16344+
-H "Authorization: Bearer $TOKEN" \
16345+
-X POST -d '{
16346+
"label": "my-object-storage-key",
16347+
"bucket_access": [
16348+
{
16349+
"cluster": "ap-south-1",
16350+
"bucket_name": "bucket-example-1",
16351+
"permissions": "read_write"
16352+
},
16353+
{
16354+
"cluster": "us-east-1",
16355+
"bucket_name": "bucket-example-2",
16356+
"permissions": "read_only"
16357+
}
16358+
]
16359+
}' \
16360+
https://api.linode.com/v4/object-storage/keys
1636116361
- lang: CLI
1636216362
source: >
1636316363
linode-cli object-storage keys-create \

0 commit comments

Comments
 (0)