User will need an admin or operator access for this API, Unauthorized users will get "401 Unauthorized"
Send a backup plan to the execution queue:
POST /op/api/v1/backupplan/<API-Reference>/execute
The API-Reference of the plan is set in the add/edit plan page, and can be viewed in the plan details page
{
"resultCode": "SUCCESS",
"resultErrorCode": "SUCCESS",
"resultMessage": "Backup plan added to execution queue"
}
Error:
{
"resultCode": "ERROR",
"resultErrorCode": "PLAN_NOT_FOUND",
"resultMessage": "Backup Plan with API Ref 199da450-7add-42fd-b644-986cfc018f32 was not found"
}
This API does NOT execute the plan, it just adds it to the execution queue, the plan may not execute if, for example, it the current time is not within the plan's maintenance window timeframe