v1

latestOpenAPI 3.0.02026-07-1410578280.2 KB
Volume

Delete unused volumes

post/volumes/prune

Query parameters

filtersstring

Filters to process on the prune list, encoded as JSON (a map[string][]string).

Available filters:

  • label (label=<key>, label=<key>=<value>, label!=<key>, or label!=<key>=<value>) Prune volumes with (or without, in case label!=... is used) the specified labels.

Response

No error

SpaceReclaimedinteger

Disk space reclaimed in bytes

VolumesDeletedstring[]

Volumes that were deleted