Removing all volumes from backup plans
POST /v3/{project_id}/os-volume-backup-plan/disassociate_all
Remove all of the associated volumes from a backup plan.
Request
Parameters
Name | In | Type | Description |
---|---|---|---|
backup_plan_id
|
body | string | The backup plan UUID. |
backup_plan_hash
|
body | string | The backup plan hash. It can be obtained from the details of a backup plan (refer to Showing backup plan details). |
Example
# curl -ks -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' -d '\ { "backup_plan_id": "4f40774a4da945cda806d59ca7c74355", "backup_plan_hash": "69932aac5f2e4468fe668e5166265485aa3f7cdf" }' https://<node_IP_addr>:8776/v3/3046fb2c2a314a0fbb32607caa1e5277/os-volume-backup-plan/disassociate_all
Response
Status codes
Success
Code | Reason |
---|---|
202 - Accepted
|
Request was accepted for processing, but the processing has not been completed. A ‘location’ header is included in the response which contains a link to check the progress of the request. |
Error
Code | Reason |
---|---|
400 - Bad Request
|
Some content in the request was invalid. |
401 - Unauthorized
|
User must authenticate before making a request. |