NSX-T Data Center REST API
Update service config
Updates the specified ServiceConfig.Request:
Method:
PUT
URI Path(s):
/api/v1/service-configs/<config-set-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ServiceConfig+
Example Request:
PUT https://<nsx-mgr>/api/v1/service-configs/183e372b-854c-4fcc-a24e-05721ce89a60 { "id": "183e372b-854c-4fcc-a24e-05721ce89a60", "display_name":"testServiceConfig1", "resource_type": "ServiceConfig", "profiles":[{"profile_type":"FirewallSessionTimerProfile", "target_id":"183e372b-854c-4fcc-a24e-05721ce89a45" }], "precedence": 10, "applied_to": [{"target_id":"333e372b-854c-4fcc-a24e-05721ce89b71", "target_type" : "NSGroup" }] "_create_user": "system", "_last_modified_user": "system", "_last_modified_time": 1414057732203, "_create_time": 1414057732203, "_create_user": "admin", "_revision": 0 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
ServiceConfig+