Skip to content

Commit fb8206c

Browse files
andystevensnamenmelehan
authored andcommitted
Add POST /object-storage/cancel (#151)
* POST /object-storage/cancel The cancel endpoint for Object Storage * Update POST /object-storage/cancel - Copy edit * Typo fix
1 parent 4bfc6f8 commit fb8206c

File tree

1 file changed

+47
-1
lines changed

1 file changed

+47
-1
lines changed

openapi.yaml

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9361,7 +9361,7 @@ paths:
93619361

93629362

93639363
**Beta**: This endpoint is in beta. Please make sure to prepend all requests with
9364-
`/v4beta` instead of `/v4`, and be aware that this endpoint may receiving breaking
9364+
`/v4beta` instead of `/v4`, and be aware that this endpoint may receive breaking
93659365
updates in the future. This notice will be removed when this endpoint is out of
93669366
beta.
93679367
tags:
@@ -9681,6 +9681,52 @@ paths:
96819681
source: >
96829682
linode-cli object-storage keys-delete \
96839683
--keyId 12345
9684+
/object-storage/cancel:
9685+
x-linode-cli-command: object-storage
9686+
post:
9687+
operationId: cancelObjectStorage
9688+
x-linode-cli-action: cancel
9689+
servers:
9690+
- url: https://api.linode.com/v4beta
9691+
summary: Cancel Object Storage
9692+
description: |
9693+
Cancel Object Storage on an Account. All buckets on the Account must be empty
9694+
before Object Storage can be cancelled:
9695+
9696+
- To delete a smaller number of objects, review the instructions in our
9697+
[How to Use Object Storage](https://www.linode.com/docs/platform/object-storage/how-to-use-object-storage/)
9698+
guide.
9699+
- To delete large amounts of objects, consult our guide on
9700+
[Lifecycle Policies](https://www.linode.com/docs/platform/object-storage/lifecycle-policies/).
9701+
9702+
**Beta**: This endpoint is in beta. Please make sure to prepend all requests with
9703+
`/v4beta` instead of `/v4`, and be aware that this endpoint may receiving breaking
9704+
updates in the future. This notice will be removed when this endpoint is out of
9705+
beta.
9706+
security:
9707+
- personalAccessToken: []
9708+
- oauth:
9709+
- object_storage:read_write
9710+
tags:
9711+
- Object Storage
9712+
responses:
9713+
'200':
9714+
description: Object Storage cancellation successful.
9715+
content:
9716+
application/json:
9717+
schema:
9718+
type: object
9719+
default:
9720+
$ref: '#/components/responses/ErrorResponse'
9721+
x-code-samples:
9722+
- lang: Shell
9723+
source: >
9724+
curl -H "Authorization: Bearer $TOKEN" \
9725+
-X POST \
9726+
https://api.linode.com/v4beta/object-storage/cancel
9727+
- lang: CLI
9728+
source: >
9729+
linode-cli object-storage cancel
96849730
/profile:
96859731
x-linode-cli-command: profile
96869732
get:

0 commit comments

Comments
 (0)