Skip to main content
POST
cURL

Body

application/json
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.

log_enable
enum<string>

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

Available options:
off,
on
port
string

The deny or allow destination port range.

protocol
string

The deny or allow protocol.

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