|
138 | 138 | "tags": [ |
139 | 139 | "BackupService" |
140 | 140 | ] |
| 141 | + }, |
| 142 | + "delete": { |
| 143 | + "summary": "Deletes a backup schedule in the account identified by the given ID.\nRequired permissions:\n- delete:backup_schedules", |
| 144 | + "operationId": "BackupService_DeleteBackupSchedule", |
| 145 | + "responses": { |
| 146 | + "200": { |
| 147 | + "description": "A successful response.", |
| 148 | + "schema": { |
| 149 | + "$ref": "#/definitions/v1DeleteBackupScheduleResponse" |
| 150 | + } |
| 151 | + }, |
| 152 | + "default": { |
| 153 | + "description": "An unexpected error response.", |
| 154 | + "schema": { |
| 155 | + "$ref": "#/definitions/googlerpcStatus" |
| 156 | + } |
| 157 | + } |
| 158 | + }, |
| 159 | + "parameters": [ |
| 160 | + { |
| 161 | + "name": "accountId", |
| 162 | + "description": "The identifier of the account (in GUID format).\nThis is a required field.", |
| 163 | + "in": "path", |
| 164 | + "required": true, |
| 165 | + "type": "string" |
| 166 | + }, |
| 167 | + { |
| 168 | + "name": "backupScheduleId", |
| 169 | + "description": "The identifier for the backup schedule (in GUID format).\nThis backup schedule should be part of the provided account.\nThis is a required field.", |
| 170 | + "in": "path", |
| 171 | + "required": true, |
| 172 | + "type": "string" |
| 173 | + }, |
| 174 | + { |
| 175 | + "name": "deleteBackups", |
| 176 | + "description": "If set, the backups generated by this backup schedule will be deleted as well.", |
| 177 | + "in": "query", |
| 178 | + "required": false, |
| 179 | + "type": "boolean" |
| 180 | + } |
| 181 | + ], |
| 182 | + "tags": [ |
| 183 | + "BackupService" |
| 184 | + ] |
141 | 185 | } |
142 | 186 | }, |
143 | 187 | "/api/cluster/backup/v1/accounts/{accountId}/backups": { |
|
390 | 434 | "BackupService" |
391 | 435 | ] |
392 | 436 | } |
393 | | - }, |
394 | | - "/api/cluster/backup/v2/accounts/{accountId}/backup_schedules/{backupScheduleId}": { |
395 | | - "delete": { |
396 | | - "summary": "Deletes a backup schedule in the account identified by the given ID.\nRequired permissions:\n- delete:backup_schedules", |
397 | | - "operationId": "BackupService_DeleteBackupSchedule", |
398 | | - "responses": { |
399 | | - "200": { |
400 | | - "description": "A successful response.", |
401 | | - "schema": { |
402 | | - "$ref": "#/definitions/v1DeleteBackupScheduleResponse" |
403 | | - } |
404 | | - }, |
405 | | - "default": { |
406 | | - "description": "An unexpected error response.", |
407 | | - "schema": { |
408 | | - "$ref": "#/definitions/googlerpcStatus" |
409 | | - } |
410 | | - } |
411 | | - }, |
412 | | - "parameters": [ |
413 | | - { |
414 | | - "name": "accountId", |
415 | | - "description": "The identifier of the account (in GUID format).\nThis is a required field.", |
416 | | - "in": "path", |
417 | | - "required": true, |
418 | | - "type": "string" |
419 | | - }, |
420 | | - { |
421 | | - "name": "backupScheduleId", |
422 | | - "description": "The identifier for the backup schedule (in GUID format).\nThis backup schedule should be part of the provided account.\nThis is a required field.", |
423 | | - "in": "path", |
424 | | - "required": true, |
425 | | - "type": "string" |
426 | | - }, |
427 | | - { |
428 | | - "name": "deleteBackups", |
429 | | - "description": "If set, the backups generated by this backup schedule will be deleted as well.", |
430 | | - "in": "query", |
431 | | - "required": false, |
432 | | - "type": "boolean" |
433 | | - } |
434 | | - ], |
435 | | - "tags": [ |
436 | | - "BackupService" |
437 | | - ] |
438 | | - } |
439 | 437 | } |
440 | 438 | }, |
441 | 439 | "definitions": { |
|
0 commit comments