Set whether the sandbox is publicly accessible
Set the HTTP ingress visibility (public or private) for a sandbox.
Set the HTTP ingress visibility (public or private) for a sandbox.
Authorization
apiKey API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.
In: header
Path Parameters
Sandbox ID (ULID)
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
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}{ "$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"}Attach or switch a sandbox's egress proxy profile PUT
Attach an egress proxy profile to an existing sandbox, replacing any current attachment. The reference uses the same grammar as create: org/<name>, project/<name>, or a bare <name> (alias for project/<name>). A running sandbox picks up the change within seconds, without a restart.
Share a sandbox with its project PUT
Set the sandbox's sharing level (use or manage). Owner or project/org admin only.