Skip to content

prune images

POST
/api/v1/container/prune/images

Controller:

github.com/raghavyuva/nixopus-api/internal/features/container/controller.(*ContainerController).PruneImages

Middlewares:

  • github.com/go-fuego/fuego.defaultLogger.middleware
  • github.com/raghavyuva/nixopus-api/internal/routes.(*Router).SetupRoutes.(*Router).setupAuthentication.func2
  • github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func1
  • github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func2
  • github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func3

Parameters

Header Parameters

Accept
Type
string

Request Body

*/*
JSON
{
"dangling": true,
"label": "string",
"until": "string"
}

Responses

OK

JSON
{
"data": {
"images_deleted": [
{
"deleted": "string",
"untagged": "string"
}
],
"space_reclaimed": 0
},
"message": "string",
"status": "string"
}

Playground

Server
Headers
Body

Samples

Powered by VitePress OpenAPI

Made with love
Released under the Functional Source License (FSL)