Skip to main content
DELETE
/
images
/
{resourceType}
/
{imageName}
Delete container image
curl --request DELETE \
  --url https://api.blaxel.ai/v0/images/{resourceType}/{imageName} \
  --header 'Authorization: Bearer <token>'
{
  "metadata": {
    "createdAt": "<string>",
    "displayName": "<string>",
    "lastDeployedAt": "<string>",
    "name": "<string>",
    "resourceType": "<string>",
    "updatedAt": "<string>",
    "workspace": "<string>"
  },
  "spec": {
    "size": 123,
    "tags": [
      {
        "createdAt": "<string>",
        "name": "<string>",
        "size": 123,
        "updatedAt": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

OAuth2 authentication with JWT tokens

Path Parameters

resourceType
string
required

Resource type (agents, functions, sandboxes, jobs)

imageName
string
required

Name of the container image repository

Response

successful operation

metadata
object
required
spec
object
required