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.

PUT
/v1/sandboxes/{idOrName}/egress-proxy-profile
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.

Length1 <= length

Response 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.