3.5. Detaching Instance BackupsΒΆ

POST /instances/{instance_id}/backups/{backup_id}/detach

Creates a task to detach the specified backup from the specified instance.

Request example:

# curl -s -X POST -H 'Content-Type: application/json' -H 'X-Auth-Token: gAAAAA<...>' \
-H 'X-Effective-User-ID: c3862f44c4bc48358db62ae22d684f33' \
-H 'X-Effective-Project-ID: 04e0d744d0f544c69ff7c17db5c8b4b9' \
https://<controller_hostname>/api/v1/instances/6e634127-5c8c-4205-8ac6-a8113cdc58a1\
/backups/%7Bb6bb1d64-4562-440d-bf6b-be801ca5f12e%7D/detach

Response example:

{
  "instance_uuid": "536881b5-8866-46e6-8022-3fd75317a6ed",
  "status": "succeeded",
  "started_at": null,
  "user_id": "9e6f4feabcf54c318d6020f8748760e3",
  "finished_at": null,
  "state": "completed",
  "progress": 0,
  "message": null,
  "project_id": "5d3f55183b3a4d8a96ddb3546360dd5b",
  "type": "detach_backup",
  "id": 262
}