delete_image
Permanently removes an image along with its versions, build context, and every application created from it. Requires typing the exact image name to confirm and is blocked while a build is running.
Instructions
DELETES the image permanently: its versions, its build context and EVERY application created from it. confirm_name must be exactly the image's name, or the call fails with IMAGE_NAME_MISMATCH. Refused with IMAGE_BUILD_IN_PROGRESS while a build runs. When the image has apps, the key also needs the apps:delete scope (images:write does not cover deleting). (scope: images:delete)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Image ID | |
| confirm_name | Yes | The image's name, typed again to confirm the deletion | |
| workspace_id | No | ID of the workspace the image belongs to, if any |