Management Plane API > Networking > Services > Policy Based Routing

Update an Existing Section, including Its Position

Modifies an existing PBR section along with its relative position
among other PBR sections in the system.

Request:

Method:
POST
URI Path(s):
/api/v1/pbr/sections/<section-id>?action=revise
Request Headers:
n/a
Query Parameters:
PBRInsertParameters+
Request Body:
PBRSection+

Example Request:

POST https://<nsx-mgr>/api/v1/pbr/sections/2111d18f-27ba-4f19-a51d-2173c3972410?action=revise&operation=insert_before&id=79b29ea5-051a-4ab2-af85-fb6520a9f881 { "id": "2111d18f-27ba-4f19-a51d-2173c3972410", "display_name": "Provides distributed access to cloud services", "_revision": 0 }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PBRSection+

Example Response:

{ "resource_type": "PBRSection", "id": "2111d18f-27ba-4f19-a51d-2173c3972410", "display_name": "Provides distributed access to cloud services", "rule_count": 1, "_create_time": 1446241866925, "_last_modified_user": "system", "_system_owned": true, "_last_modified_time": 1446241866925, "_create_user": "system", "_revision": 1 }

Required Permissions:

crud

Feature:

pbr

Additional Errors: