File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change @@ -15619,6 +15619,52 @@ paths:
1561915619 - lang: CLI
1562015620 source: >
1562115621 linode-cli volumes detach 12345
15622+ /volumes/{volumeId}/migration-cancel:
15623+ parameters:
15624+ - name: volumeId
15625+ in: path
15626+ description: ID of the Volume to look up.
15627+ required: true
15628+ schema:
15629+ type: integer
15630+ x-linode-cli-command: volumes
15631+ post:
15632+ x-linode-grant: read_write
15633+ tags:
15634+ - Volumes
15635+ summary: Volume Migration Cancel
15636+ description: |
15637+ Cancels the migration for the Volume and removes it from the migration queue.
15638+
15639+ A Volume migration cannot be cancelled in the following cases:
15640+ * The migration is already in progress.
15641+ * The migration was automatically scheduled. Only customer-elected Volume migrations can be cancelled with this endpoint.
15642+ operationId: cancelVolumeMigration
15643+ x-linode-cli-action: migration-cancel
15644+ security:
15645+ - personalAccessToken: []
15646+ - oauth:
15647+ - volumes:read_write
15648+ - linodes:read_write
15649+ responses:
15650+ '200':
15651+ description: Migration cancelled successfully.
15652+ content:
15653+ application/json:
15654+ schema:
15655+ type: object
15656+ default:
15657+ $ref: '#/components/responses/ErrorResponse'
15658+ x-code-samples:
15659+ - lang: Shell
15660+ source: >
15661+ curl -H "Content-Type: application/json" \
15662+ -H "Authorization: Bearer $TOKEN" \
15663+ -X POST \
15664+ https://api.linode.com/v4/volumes/12345/migration-cancel
15665+ - lang: CLI
15666+ source: >
15667+ linode-cli volumes migration-cancel 12345
1562215668 /volumes/{volumeId}/resize:
1562315669 parameters:
1562415670 - name: volumeId
You can’t perform that action at this time.
0 commit comments