curl -X POST http://localhost:3000/cleanup \
-H "Authorization: Bearer $ISOL8_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "images": true }'
{
"ok": true,
"sessions": { "removed": 2, "failed": 0, "errors": [] },
"containers": { "removed": 4, "failed": 0, "errors": [] },
"images": { "removed": 5, "failed": 0, "errors": [] }
}
Trigger authenticated cleanup of sessions, containers, and optional images.
curl -X POST http://localhost:3000/cleanup \
-H "Authorization: Bearer $ISOL8_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "images": true }'
{
"ok": true,
"sessions": { "removed": 2, "failed": 0, "errors": [] },
"containers": { "removed": 4, "failed": 0, "errors": [] },
"images": { "removed": 5, "failed": 0, "errors": [] }
}
isol8:* containersisol8:* imagestrue. Set false to clean sessions + containers only.true when cleanup completed.removed, failed, errors).removed, failed, errors).removed, failed, errors).curl -X POST http://localhost:3000/cleanup \
-H "Authorization: Bearer $ISOL8_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "images": true }'
{
"ok": true,
"sessions": { "removed": 2, "failed": 0, "errors": [] },
"containers": { "removed": 4, "failed": 0, "errors": [] },
"images": { "removed": 5, "failed": 0, "errors": [] }
}
isol8:* containers (and images when enabled).Was this page helpful?