Management Plane API > Networking > Services > Policy Based Routing

Create a New Empty Section

Creates new empty PBR section in the system.

Request:

Method:
POST
URI Path(s):
/api/v1/pbr/sections
Request Headers:
n/a
Query Parameters:
PBRInsertParameters+
Request Body:
PBRSection+

Example Request:

POST https://<nsx-mgr>/api/v1/pbr/sections { "display_name": "DS-PBR-vpc-5b4cf63d" }

Successful Response:

Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
PBRSection+

Example Response:

{ "resource_type": "PBRSection", "id": "dd8afb22-df12-4b37-aea2-7f0bbf7cdb37", "display_name": "DS-PBR-vpc-5b4cf63d", "rule_count": 0, "_last_modified_user": "system", "_system_owned": false, "_last_modified_time": 1445894697038, "_create_user": "system", "_create_time": 1445894697038, "_revision": 0 }

Required Permissions:

crud

Feature:

pbr

Additional Errors: