SandboxesSandbox settings

Update organization sandbox settings

Update the sandbox egress network policy settings for an organization. Requires admin or owner role.

PUT
/v1/orgs/{org}/settings/sandbox

Update the sandbox egress network policy settings for an organization. Requires admin or owner role.

AuthorizationBearer <token>

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

In: header

Path Parameters

org*string

Organization name

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

allowed_policies?array<string>|

Policy names sandboxes can use. Null = every policy allowed. An empty list allows none, so no sandbox can start. Omit the field to keep the current setting.

default_policy?string

Default policy for new sandboxes.

Response Body

application/json

application/problem+json

curl -X PUT "https://example.com/v1/orgs/string/settings/sandbox" \  -H "Content-Type: application/json" \  -d '{}'
{  "allowed_policies": [    "string"  ],  "default_policy": "string"}