Skip to content

Commit 3786fbc

Browse files
committed
Add Databases Backup Delete
1 parent dbad623 commit 3786fbc

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

0 commit comments

Comments
 (0)