Skip to main content
DELETE
Delete a sandbox image
Deletes the image repository and all its tags. The API rejects deletion if an active deployment references any version. The response contains the deleted image. For a cURL procedure, see Delete an image version or repository.

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <api_key>. The legacy Authorization: Api-Key <api_key> scheme is also accepted.

Headers

X-Team-Id
string

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.

Minimum string length: 1

Path Parameters

image_name
string
required

Image repository name.

Minimum string length: 1
Example:

"base-image"

Query Parameters

team_id
string

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.

Minimum string length: 1

Response

Successful operation.

Sandbox image repository. Get operations return a summary with an empty tags array.

name
string
required

Stable repository name supplied when pushing the image.

Example:

"base-image"

status
enum<string>
required

Image processing status. Only BUILT images are ready to use.

Available options:
UPLOADING,
BUILDING,
BUILT,
FAILED
Example:

"BUILT"

tags
object[]
required

Empty for get summary responses. Use GET /sandboxes/images/{image_name}/tags to retrieve paginated image versions.

Example:
created_at
string<date-time>
read-only

Time the image was created.

Example:

"2026-09-15T21:20:00Z"

updated_at
string<date-time>
read-only

Time the image was last updated.

Example:

"2026-09-16T21:25:00Z"

last_deployed_at
string<date-time>
read-only

Most recent deployment time across all tags, if deployed.

Example:

"2026-09-16T21:26:58.545765901Z"

size
integer<int64>
read-only

Total repository size in bytes.

Required range: x >= 0
Example:

260046848

tag_count
integer<int64>
read-only

Number of image versions in the repository.

Required range: x >= 0
Example:

2