Skip to main content
POST
cURL

Body

application/json
new_policy
string
required

A string of access policies in json format.

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.

position
integer

To insert at a given postion.

reference_rule
string

One reference rule(as json dumps) to "insert" given policy list.

vpc_id
string

ID of of the VPC.

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