Network
Delete unused networks
Changed onpost/networks/prune
Request
- Base URL/v1.57 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
Query parameters
filtersstring
Filters to process on the prune list, encoded as JSON (a map[string][]string).
Available filters:
- until=<timestamp> Prune networks created before this timestamp. The <timestamp> can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. 10m, 1h30m) computed relative to the daemon machine’s time.
- label (label=<key>, label=<key>=<value>, label!=<key>, or label!=<key>=<value>) Prune networks with (or without, in case label!=... is used) the specified labels.
Response
No error
Changes
- breaking
removed the media type
application/jsonfor the response with the status - info
api tag
Networkadded - info
added the non-success response with the status
- breaking
- info
api tag
Networkremoved - info
removed the non-success response with the status
- info