Removing specific volumes from backup plans
POST /v3/{project_id}/os-volume-backup-plan/disassociate
Remove specific 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). |
volume_ids
|
body | array | A list of volumes. |
Example
# curl -ks -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' -d '\ { "backup_plan_id": "4f40774a4da945cda806d59ca7c74355", "backup_plan_hash": "69932aac5f2e4468fe668e5166265485aa3f7cdf", "volume_ids": [ "a0494a55-fdc0-4233-8c80-a3022ab8f4af" ] }' https://<node_IP_addr>:8776/v3/3046fb2c2a314a0fbb32607caa1e5277/os-volume-backup-plan/disassociate
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. |