Sandboxes

Set whether the sandbox is publicly accessible

Set the HTTP ingress visibility (public or private) for a sandbox.

PUT
/v1/sandboxes/{id}/visibility

Set the HTTP ingress visibility (public or private) for a sandbox.

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.

public*boolean

Whether the sandbox is publicly reachable.

Response Body

application/json

application/problem+json

curl -X PUT "https://api-dev.tektona.ai/v1/sandboxes/string/visibility" \  -H "Content-Type: application/json" \  -d '{    "public": true  }'
{  "$schema": "https://api-dev.tektona.ai/schemas/SetSandboxVisibilityResponse.json",  "id": "string",  "public": true}