Sandboxes
Update organization sandbox settings
Update the sandbox egress network policy settings for an organization. Requires admin or owner role.
Update the sandbox egress network policy settings for an organization. Requires admin or owner role.
Authorization
apiKey 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 = all allowed.
default_policy?string
Default policy for new sandboxes.
Response Body
application/json
application/problem+json
curl -X PUT "https://api-dev.tektona.ai/v1/orgs/string/settings/sandbox" \ -H "Content-Type: application/json" \ -d '{}'{ "$schema": "https://api-dev.tektona.ai/schemas/OrgSandboxSettingsResponse.json", "allowed_policies": [ "string" ], "default_policy": "string"}{ "$schema": "https://api-dev.tektona.ai/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "errors": [ { "location": "string", "message": "string", "value": null } ], "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"}