Endpoint

/v1/snapshots/capacity-used-per-snapshot/

GET

Returns the approximate amount of space for each snapshot that would be reclaimed if that snapshot were deleted.

Parameters

This resource has no parameters.

Response

Codes

Code Description
200 Return value on success

Schema

{
  "description": "api_snapshot_capacity_used_per_snapshot",
  "type": "object",
  "properties": {
    "entries": {
      "type": "array",
      "items": {
        "description": "List of snapshot identifiers with the amount of space that would be reclaimed by deleting each one",
        "type": "object",
        "properties": {
          "id": {
            "description": "Unique identifier for a snapshot",
            "type": "number"
          },
          "capacity_used_bytes": {
            "description": "Amount of space that would be reclaimed if the snapshot were deleted",
            "type": "string"
          }
        }
      }
    }
  }
}