System Administration > Configuration > NSX Managers > Nodes > Services > Http Service

Update http service properties (Deprecated)

This API is deprecated. Make changes to the http service
configuration by calling the PUT /api/v1/cluster/api-service API.

Request:

Method:
PUT
URI Path(s):
/api/v1/node/services/http
/api/v1/transport-nodes/<transport-node-id>/node/services/http
/api/v1/cluster/<cluster-node-id>/node/services/http
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
NodeHttpServiceProperties+

Example Request:

PUT https://<nsx-mgr>/api/v1/node/services/http { "service_name": "http", "service_properties": { "logging_level": "INFO", "certificate": { "pem_encoded": "-BEGIN CERTIFICATE--END CERTIFICATE-\n" }, "cipher_suites": [ { "enabled": true, "name": "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" }, { "enabled": false, "name": "TLS_RSA_WITH_AES_256_GCM_SHA384" }, { "enabled": true, "name": "TLS_RSA_WITH_AES_256_CBC_SHA" } ], "connection_timeout": 60000, "protocol_versions": [ { "enabled": true, "name": "TLSv1.1" }, { "enabled": true, "name": "TLSv1.2" } ], "redirect_host": "10.0.0.1", "session_timeout": 2400 } }

Successful Response:

Response Code:
202 Accepted
Response Headers:
Content-type: application/json
Response Body:
NodeHttpServiceProperties+

Example Response:

same as GET https://<nsx-mgr>/api/v1/node/services/http

Required Permissions:

crud

Feature:

system_administration

Additional Errors: