Skip to content

Commit 8492ffe

Browse files
authored
Merge pull request #643 from bbiggerr/dbaas-backup-delete
Add Databases Backup Delete
2 parents 242b3f9 + 3786fbc commit 8492ffe

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

openapi.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3673,6 +3673,44 @@ paths:
36733673
- lang: CLI
36743674
source: >
36753675
linode-cli databases mysql-backup-view 123 456
3676+
delete:
3677+
tags:
3678+
- Databases
3679+
summary: Managed MySQL Database Backup Delete
3680+
operationId: deleteDatabaseMySQLInstanceBackup
3681+
servers:
3682+
- url: https://api.linode.com/v4
3683+
- url: https://api.linode.com/v4beta
3684+
x-linode-cli-action: mysql-backup-delete
3685+
x-linode-grant: unrestricted only
3686+
description: |
3687+
Delete a single backup for an accessible Managed MySQL Database.
3688+
3689+
Requires `read_write` access to the Database.
3690+
3691+
The Database must not be provisioning to perform this command.
3692+
security:
3693+
- personalAccessToken: []
3694+
- oauth:
3695+
- databases:read_write
3696+
responses:
3697+
'200':
3698+
description: Request to delete Databse backup successful.
3699+
content:
3700+
application/json:
3701+
schema:
3702+
type: object
3703+
default:
3704+
$ref: '#/components/responses/ErrorResponse'
3705+
x-code-samples:
3706+
- lang: Shell
3707+
source: >
3708+
curl -H "Authorization: Bearer $TOKEN" \
3709+
-X DELETE \
3710+
https://api.linode.com/v4/databases/mysql/instances/123/backups/456
3711+
- lang: CLI
3712+
source: >
3713+
linode-cli databases mysql-backup-delete 123 456
36763714
/databases/mysql/instances/{instanceId}/backups/{backupId}/restore:
36773715
x-linode-cli-command: databases
36783716
parameters:

0 commit comments

Comments
 (0)