Skip to main content
POST
cURL

Body

application/json
base_policy
enum<string>
required

Set Base policy to allow-all or deny-all.

Available options:
allow-all,
deny-all
vpc_name
string
required

The name of the VPC.

CID
string

The opaque session ID token. Required for 7.2 controllers only.

action
string

The API action to perform. Required for 7.2 controllers only.

base_policy_log_enable
enum<string>

On/off log packets match this rule, default is off.

Available options:
off,
on

Response

General v2 API response schema.

A generic API response container for v2 style APIs.

errortype
string

Error type if the API failed.

reason
string

Failure reason if the API failed.

results

API response data

return
boolean

Whether the API returned successfully