Egress proxy profiles
Create 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
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
default*boolean
Make this the project's default profile (project scope only)
name*string
Match
^[a-z0-9][a-z0-9_-]*$Length
1 <= length <= 128scope*string
Value in
"org" | "project"Response Body
application/json
application/problem+json
curl -X POST "https://api-dev.tektona.ai/v1/orgs/string/projects/string/egress-proxy-profiles" \ -H "Content-Type: application/json" \ -d '{ "default": true, "name": "string", "scope": "org" }'{ "$schema": "https://api-dev.tektona.ai/schemas/ProfileCreateBody.json", "profile": { "id": "string", "is_default": true, "name": "string", "rules": [ { "domain_pattern": "string", "id": "string", "path_match": "string", "recipe": [ { "name": "string", "target": "header", "template": "string", "username": "string" } ] } ], "scope": "org" }}{ "$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"}