Update snapshot
Method | URI | Description |
---|---|---|
PUT | /v2/{tenant_id}/snapshots/{snapshot_id} | Updates a specified snapshot. |
Normal response codes: 200
Request
This table shows the URI parameters for the update snapshot request:
Name | Type | Description |
---|---|---|
{tenant_id} | String | The unique identifier of the project or account. |
{snapshot_id} | UUID | The unique identifier of an existing snapshot. |
This table shows the query parameters for the update snapshot request:
Name | Type | Description |
---|---|---|
description | String (Optional) |
Describes the snapshot. |
name | String (Optional) |
The name of the snapshot. |
Example. Update snapshot: JSON request
{
"snapshot": {
"name": "snap-002",
"description": "This is yet, another snapshot."
}
}
Response
Example. Update snapshot: JSON response
{
"snapshot": {
"created_at": "2013-02-20T08:11:34.000000",
"description": "This is yet, another snapshot",
"name": "vol-002",
"id": "4b502fcb-1f26-45f8-9fe5-3b9a0a52eaf2",
"size": 1,
"status": "available",
"volume_id": "2402b902-0b7a-458c-9c07-7435a826f794"
}
}