Sandboxes
Update project sandbox settings
Update the sandbox egress network policy settings for an organization project. Requires admin or owner role.
Update the sandbox egress network policy settings for an organization project. 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
project*string
Project name
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
default_policy?string
Default policy for sandboxes in this project. Null = inherit from org.
Response Body
application/json
application/problem+json
curl -X PUT "https://api-dev.tektona.ai/v1/orgs/string/projects/string/settings/sandbox" \ -H "Content-Type: application/json" \ -d '{}'{ "$schema": "https://api-dev.tektona.ai/schemas/ProjectSandboxSettingsResponse.json", "default_policy": "string", "effective_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"}