2.2.5. Update Snapshot

Verb URI Description
PUT /snapshots/snapshot-id Update the specified snapshot.
 

Example 2.21. Update Snapshot: JSON Request

PUT /v1/snapshots/2402b902-0b7a-458c-9c07-7435a826f794
Content-Type: application/json
Accept: application/json
          
          {
   "snapshot":{
      "display_name":"snap-002",
      "display_description":"This is yet, another snapshot."
   }
}

        

 

Example 2.22. Update Snapshot: JSON Response

          {
    "snapshot": {
        "created_at": "2013-02-20T08:11:34.000000",
        "display_description": "This is yet, another snapshot",
        "display_name": "vol-002",
        "id": "4b502fcb-1f26-45f8-9fe5-3b9a0a52eaf2",
        "size": 1,
        "status": "available",
        "volume_id": "2402b902-0b7a-458c-9c07-7435a826f794"
    }
}

        

Returns status code 200 on success

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page