Article summary
Did you find this summary helpful?
Thank you for your feedback
Get
/v2/networks/{networkId}/policy
Required permissions: ["network:read"]
.
Security
Http
Type bearer
Path parameters
networkId
stringRequired
Responses
200
Completed successfully
object
enabled
boolean
whether the policy is enabled.
allowed
boolean
whether the policy is allow or deny.
id
string
Any alphanumeric value w/o space
Min length1
Pattern^[a-zA-Z0-9]+$
policyRules
Array of object (FirewallPolicyRule)
an array of policy rules.
object
id
string
Any alphanumeric value w/o space
Min length1
Pattern^[a-zA-Z0-9]+$
name
string
Policy rule ID.
Max length50
Min length5
enabled
boolean
wether the rule is enabled.
allowed
boolean
wether the rule is enabled.
sources
object (SourcesAndDestinations)
destinations
object (SourcesAndDestinations)
services
Array of string
List of services objects IDs.
string
Pattern^[a-zA-Z0-9_- ]+$
401
Unauthorized
403
Forbidden
404
Network not found
Was this article helpful?