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.
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 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.
Egress proxy profile reference: org/<name>, project/<name>, or a bare <name> (alias for project/<name>). Replaces the current attachment.
1 <= lengthResponse Body
application/problem+json
curl -X PUT "https://api-dev.tektona.ai/v1/sandboxes/string/egress-proxy-profile" \ -H "Content-Type: application/json" \ -d '{ "egress_proxy_profile": "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"}