Egress network policies
Update an organization egress network policy
Update a custom egress network policy. Requires admin or owner role.
Update a custom egress network policy. 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
name*string
Policy name
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
allowed_cidrs?array<string>|null
allowed_domains?array<string>|null
denied_cidrs?array<string>|null
denied_domains?array<string>|null
display_name?string
Length
length <= 128extends?string
Response Body
application/json
application/problem+json
curl -X PUT "https://api-dev.tektona.ai/v1/orgs/string/egress-network-policies/string" \ -H "Content-Type: application/json" \ -d '{}'{ "$schema": "https://api-dev.tektona.ai/schemas/PolicyResponse.json", "allowed_cidrs": [ "string" ], "allowed_domains": [ "string" ], "denied_cidrs": [ "string" ], "denied_domains": [ "string" ], "description": "string", "display_name": "string", "display_reference": "string", "extends": "string", "name": "string", "reference": "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"}