Clean up unused images
Removes unused image versions.
Authorizations
Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also accepted.
Headers
Optional team ID. Must match the team_id query parameter when both are supplied. If neither selector is supplied, defaults to the caller's only accessible team. Callers with multiple accessible teams must select a team. Requests without access to any team are forbidden.
1Query Parameters
Optional team ID. Must match X-Team-Id when both are supplied. If neither selector is supplied, defaults to the caller's only accessible team. Callers with multiple accessible teams must select a team. Requests without access to any team are forbidden.
1Response
Successful operation.
Result of cleaning up unused sandbox images.
Number of image versions removed.
x >= 03
Human-readable cleanup result.
"Removed 3 unused image versions. Image versions used by active sandboxes were retained."
Number of unused image versions left for a next call.
x >= 00
True when the cleanup stopped on its time limit before every unused version was removed. Call it again to continue.
false