Management Plane API > Security > Services > Service Insertion

Update an Existing Section

Modifies the specified section, but does not modify the section's associated rules.

Request:

Method:
PUT
URI Path(s):
/api/v1/serviceinsertion/sections/<section-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ServiceInsertionSection+

Example Request:

PUT https://<nsx-mgr>/api/v1/serviceinsertion/sections/65a60890-6f48-418d-a7d5-5aaf65fc4e5b { "_revision": 0, "description": "protects app and web VMs", "display_name": "app_and_web-serviceinsertion", "section_type": "L3REDIRECT", "applied_tos": [ { "target_type": "LogicalRouter", "target_id": "b489b427-9f14-401e-81db-d1105a1917fe" } ], "stateful": false }

Successful Response:

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

Example Response:

{ "resource_type": "ServiceInsertionSection", "description": "protects app and webVMs", "id": "65a60890-6f48-418d-a7d5-5aaf65fc4e5b", "display_name": "app-serviceinsertion", "section_type": "L3REDIRECT", "applied_tos": [ { "target_display_name": "Tier0-LR-1", "is_valid": true, "target_type": "LogicalRouter", "target_id": "b489b427-9f14-401e-81db-d1105a1917fe" } ], "is_default": false, "stateful": false, "rule_count": 0, "_last_modified_user": "admin", "_system_owned": false, "_last_modified_time": 1445894033117, "_create_user": "admin", "_create_time": 1445894033107, "_revision": 1 }

Required Permissions:

crud

Feature:

service_insertion

Additional Errors: