Skip to main content
GET
Get Egress Policy

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.

Path Parameters

tb_instance_id
string
required

The tbInstanceId field.

Response

200 - application/json

Successful response

The TBControlPlaneServiceGetEgressPolicyResponse message.

compiledPolicyYaml
string

The compiled TB policy YAML for the current generation, empty when policy.rules is empty.

policy
Tb Egress Policy · object | null

TBEgressPolicy is the typed policy document for one TB instance. Binds per-instance, not per-tenant-across-instances, keyed by tb_instance_id exactly as discovery reports it.