SandboxesNetworking
Attach or switch a sandbox's egress proxy profile
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.
Authorization
apiKey AuthorizationBearer <token>
API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.
In: header
Path Parameters
idOrName*string
Sandbox ID (ULID) or name
Query Parameters
org?string
Required when the path names the sandbox by name.
project?string
Required when the path names the sandbox by name.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
egress_proxy_profile*string
Egress proxy profile reference: org/<name>, project/<name>, or a bare <name> (alias for project/<name>). Replaces the current attachment.
Length
1 <= lengthResponse Body
application/problem+json
curl -X PUT "https://example.com/v1/sandboxes/string/egress-proxy-profile" \ -H "Content-Type: application/json" \ -d '{ "egress_proxy_profile": "string" }'No body.
{ "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"}