System Administration >
Configuration
>
Fabric
>
Nodes
>
NSX Manager
>
Services
>
HTTP Service
Update http service properties
Update http service properties. To update fields deprecated in this API,
checkout API PUT /api/v1/cluster/api-service.
Request:
Method:
PUT
URI Path(s):
/api/v1/cluster/{cluster-node-id}/node/services/http
/api/v1/node/services/http
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
NodeHttpServiceProperties
+
NodeHttpServiceProperties
(
schema
)
Name
Description
Type
Notes
_links
References related to this resource
The server will populate this field when returing the resource. Ignored on PUT and POST.
array of
ResourceLink
Readonly
_schema
Schema for this resource
string
Readonly
_self
Link to this resource
SelfResourceLink
Readonly
service_name
Service name
string
Required
service_properties
HTTP Service properties
HttpServiceProperties
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" } ], "session_timeout": 1800, "connection_timeout": 30, "client_api_concurrency_limit": 40, "client_api_rate_limit": 100, "global_api_concurrency_limit": 199, "basic_authentication_enabled" : true, "cookie_based_authentication_enabled" : true, "protocol_versions": [ { "enabled": true, "name": "TLSv1.1" }, { "enabled": true, "name": "TLSv1.2" } ], "redirect_host": "10.0.0.1" } }
Successful Response:
Response Code:
202 Accepted
Response Headers:
Content-type: application/json
Response Body:
NodeHttpServiceProperties
+
NodeHttpServiceProperties
(
schema
)
Name
Description
Type
Notes
_links
References related to this resource
The server will populate this field when returing the resource. Ignored on PUT and POST.
array of
ResourceLink
Readonly
_schema
Schema for this resource
string
Readonly
_self
Link to this resource
SelfResourceLink
Readonly
service_name
Service name
string
Required
service_properties
HTTP Service properties
HttpServiceProperties
Example Response:
same as GET https://<nsx-mgr>/api/v1/node/services/http
Required Permissions:
crud
Feature:
system_administration
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable