---
title: "Retire a template and terminate its sessions"
method: DELETE
path: "/projects/{id}/sandboxes/{sandboxId}"
tags: ["Sandboxes"]
---

# Retire a template and terminate its sessions

`DELETE /projects/{id}/sandboxes/{sandboxId}`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/sandboxes/{sandboxId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `id` string, uuid, required
- `sandboxId` string, uuid, required

## Response `202`

Retire a template and terminate its sessions

## Other responses

- `default`: Request refused or unavailable. Errors include invalid input (400), unauthenticated (401), forbidden (403), not found (404), conflicting retry (409), capacity exhausted (429), and temporarily unavailable (503). Code `feature_unavailable` with 404 means sandboxes are not available in this environment.

## Changes

- **2026-10-14** `d8d8f53d847b`: 1 info
  - the endpoint scheme security `ProjectAccessToken` was added to the API
- **2026-10-05** `d350e7525428`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/sandboxes/:sandboxId/delete.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
