Sandboxes

Pause a sandbox

Pause a running sandbox via hibernate or suspend mode.

POST
/v1/sandboxes/{id}/pause

Pause a running sandbox via hibernate or suspend mode.

AuthorizationBearer <token>

API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.

In: header

Path Parameters

id*string

Sandbox ID (ULID)

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

mode?string

Pause mode.

Default"hibernate"
Value in"hibernate" | "suspend"

Response Body

application/json

application/problem+json

curl -X POST "https://api-dev.tektona.ai/v1/sandboxes/string/pause" \  -H "Content-Type: application/json" \  -d '{}'
{  "$schema": "https://api-dev.tektona.ai/schemas/PauseSandboxResponse.json",  "id": "string",  "state": "string"}