Skip to main content
PUT
Save 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.

Body

application/json

The TBControlPlaneServiceSaveEgressPolicyRequest message.

defaultDenyReason
string

The defaultDenyReason field.

defaultOutcome
enum<string>

The defaultOutcome field.

Available options:
TB_EGRESS_OUTCOME_UNSPECIFIED,
TB_EGRESS_OUTCOME_ALLOWED,
TB_EGRESS_OUTCOME_DENIED
rules
Tb Egress Rule · object[] | null

The rules field.

tbInstanceId
string

The tbInstanceId field.

Response

200 - application/json

Successful response

The TBControlPlaneServiceSaveEgressPolicyResponse message.

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.