Egress proxy profiles
Add a rule to a project egress proxy profile
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
project*string
name*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
domain_pattern*string
Host the rule matches: an exact host (api.example.com) or a wildcard suffix (*.example.com). No scheme, port, or path.
Length
1 <= lengthpath_match?string
Optional request-path prefix; the rule applies only when the path matches. Segment-bounded: /a/b matches /a/b and /a/b/c but not /a/bc.
recipe*array<>|
Items
1 <= itemsResponse Body
application/json
application/problem+json
curl -X POST "https://api-dev.tektona.ai/v1/orgs/string/projects/string/egress-proxy-profiles/string/rules" \ -H "Content-Type: application/json" \ -d '{ "domain_pattern": "string", "recipe": [ { "target": "header", "template": "string" } ] }'{ "$schema": "https://api-dev.tektona.ai/schemas/RuleCreatedBody.json", "rule_id": "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"}