---
title: "Rename a sandbox template"
method: PATCH
path: "/projects/{id}/sandboxes/{sandboxId}"
tags: ["Sandboxes"]
---

# Rename a sandbox template

`PATCH /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

## Request body

- UpdateSandboxTemplateRequest
  - `name` string, required

## Response `200`

Rename a sandbox template

- SandboxTemplate
  - `id` string, uuid, required
  - `project_id` string, uuid, required
  - `name` string, required
  - `preset` string
  - `memory_mb` integer
  - `status` 'ready' | 'unavailable' | 'deleting', required
  - `created_at` string, date-time, required

## 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/patch.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)
