Deletes a backup plan.
Operation description
Deleting a backup plan also deletes the associated backup jobs.
Deleting a backup plan does not delete existing snapshots.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:DeleteBackupPlan |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PlanId |
string |
Yes |
The ID of the backup plan. |
plan-********************* |
| VaultId |
string |
No |
The ID of the backup vault. This parameter is required if the SourceType parameter is not set to UDM_ECS. |
v-********************* |
| SourceType |
string |
No |
The type of the data source. Valid values:
|
ECS_FILE |
| RequireNoRunningJobs |
boolean |
No |
Specifies whether to prevent the deletion of the backup plan if backup jobs are running. |
false |
| Edition |
string |
No |
The edition type. Valid values are BASIC and STANDARD. The default value is STANDARD. |
STANDARD |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The return code. A value of 200 indicates that the request was successful. |
200 |
| Message |
string |
The returned message. If the request is successful, `successful` is returned. If the request fails, an error message is returned. |
successful |
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| Success |
boolean |
Indicates whether the request was successful.
|
true |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "successful",
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.