Virtual Routers Firewall Policies
Allowed HTTP methods
Method |
Description |
---|---|
GET |
get / list object/s |
POST |
create new object/s |
DELETE |
delete object/s |
List single policy
- GET /vrfwpolicies/{vrfwpolicy_uuid}/
Gets detailed information on a policy identified by vrfwpolicy_uuid.
- statuscode 200:
no error
Example request:
Example response:
Creating
- POST /vrfwpolicies/
Creates a new virtual router firewall policy.
- Status Codes:
201 Created – object created
Example request:
Example response:
Editing
- PUT /vrfwpolicies/{uuid}/
Edits a virtual router firewall policy. In case the policy is activated, all the filters are going to be applied. Also in case the policy is deactivated, all the filters are going to be removed from Firewall.
- Status Codes:
200 OK – no error
Example request:
Example response:
Deleting
- DELETE /vrfwpolicies/{vrfwpolicy_uuid}/
Deletes a single virtual router firewall policy.
- Status Codes:
204 No Content – No content, object deletion started.
Example request:
Example response: