NSX-T Data Center REST API
Update NSService
Updates the specified NSService. Modifiable parameters include the description,display_name and the NSService element. The system defined NSServices can't be
modified
Request:
Method:
PUT
URI Path(s):
/api/v1/ns-services/<ns-service-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
NSService+
Example Request:
PUT https://<nsx-mgr>/api/v1/ns-services/12dd0d9d-fac3-457e-ba91-8121aa67e3dd { "resource_type": "NSService", "display_name": "test", "nsservice_element": { "resource_type": "EtherTypeNSService", "ether_type": 33011 }, "_revision": 0 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
NSService+