---
title: "Delete a sandbox image"
method: DELETE
path: "/projects/{projectId}/images/{imageId}"
tags: ["Sandbox images"]
---

# Delete a sandbox image

`DELETE /projects/{projectId}/images/{imageId}`

Permanently delete a sandbox image. Computers booted from it fall back to the base image. Deleting a project-shared image requires project admin. Bodyless — any field is rejected. Guest callers are denied (a write).

## Path parameters

- `projectId` string, required
- `imageId` string, required

## Response `200`

The sandbox image was deleted.

- SandboxImageDeleted
  - `id` string, required
  - `deleted` true, required

## Other responses

- `400` — Malformed body or parameters.
- `401` — Missing, invalid, revoked, or orphaned key (`UNAUTHORIZED`) — or the **target MCP server** needs an OAuth grant (`OAUTH_REQUIRED`), which is a property of the server, not your key.
- `403` — Key is valid but not allowed to do this.
- `404` — Unknown project, server, or resource.
- `429` — Per-key rate limit exceeded (60 requests/minute sustained, bursts up to 10). Honor `Retry-After` and back off with jitter.
- `500` — Something failed on MCPJam's side.
- `502` — Could not connect to the target MCP server.

## Changes

> 71 revisions in range; 17 could not be searched.

- **2026-07-25** `8e393fd5825f` — 7 warning
  - added the new `CONFLICT` enum value to the `code` response property for the response status `400`
  - added the new `CONFLICT` enum value to the `code` response property for the response status `401`
  - added the new `CONFLICT` enum value to the `code` response property for the response status `403`
  - added the new `CONFLICT` enum value to the `code` response property for the response status `404`
  - …3 more
- **2026-07-25** `302cc2d08c56` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/mcpjam/apis/mcpjam-api/changes/projects/:projectId/images/:imageId/delete.md)

---

[API](https://skmtc.dev/mcpjam/apis/mcpjam-api.md) · [All operations](https://skmtc.dev/mcpjam/apis/mcpjam-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mcpjam/mcpjam-api/revisions/c628a0e95b06/schema)
