---
title: "Delete Container Template"
method: DELETE
path: "/apps/{appId}/containers/{containerId}"
tags: ["Containers"]
---

# Delete Container Template

`DELETE /apps/{appId}/containers/{containerId}`

## Request

- Base URL: `https://api.bunny.net/mc`
- URL: `https://api.bunny.net/mc/apps/{appId}/containers/{containerId}`
- Auth: API key in header `AccessKey`

Deletes a container template from an application.

## Path parameters

- `appId` string, required
- `containerId` string, required

## Response `200`

Container template was successfully deleted.

## Other responses

- `400`: Cannot delete the last container template.
- `401`: User is unauthorized.
- `403`: User has invalid card or suspended.
- `404`: Application or container template not found.
- `500`: Unexpected server error.

## Changes

- **2026-04-26** `62fb48c758fb`: 8 info
  - added the optional property `id` to the response with the `400` status
  - added the optional property `id` to the response with the `403` status
  - added the optional property `id` to the response with the `404` status
  - added the optional property `id` to the response with the `500` status
  - …4 more

[Operation history](https://skmtc.dev/bunny/apis/magic-containers-api/changes/apps/:appId/containers/:containerId/delete.md)

---

[API](https://skmtc.dev/bunny/apis/magic-containers-api.md) - [All operations](https://skmtc.dev/bunny/apis/magic-containers-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bunny/apis/magic-containers-api/revisions/7bb58a0591b0?raw)
