Skip to main content
DELETE
Delete an image tag
Deletes one image version. The API rejects deletion if an active deployment references that version. The response contains the updated image and its remaining tags, which can be empty. 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"

tag_name
string
required

Image tag name.

Minimum string length: 1
Example:

"20260915212000"

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