Get an egress rule by ID
Authentication
X-API-Client-IDstring
API Client ID
X-API-Client-Secretstring
API Client Secret
Path parameters
id
ID of the egress rule
Response
The egress rule details
id
Unique identifier for the egress rule.
protocol
Protocol the rule applies to. One of TCP, UDP, ICMP, or ALL.
networkId
Identifier of the network this rule belongs to.
state
Current lifecycle state of the rule.
sourceCidrList
Source CIDR within the network's CIDR.
startPort
Start of the port range the rule applies to.
endPort
End of the port range the rule applies to.
action
allow permits the traffic this rule matches; deny blocks it. Which one applies is set by the rule’s network, not by the rule, and is the opposite of that network’s defaultEgressPolicy. Omitted when unknown.
Allowed values:
destCidrList
Destination CIDR this rule matches. Whether matching traffic is permitted or blocked depends on action.
createdAt
When the rule was created.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error