System Administration > Monitoring > Health Checks

Update automatic health check toggle

Change status of automatic health check toggle to enabled/disabled.

Request:

Method:
PUT
URI Path(s):
/api/v1/automatic-health-check-toggle
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
AutomaticHealthCheckToggle+

Example Request:

PUT https://<nsx-mgr>/api/v1/automatic-health-check-toggle { "enabled": true, "resource_type": "AutomaticHealthCheckToggle", "id": "b9339dce-cf1d-48a4-bd37-d708cfbf101d", "display_name": "automatic-health-check-toggle", "_revision": 0 }

Successful Response:

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

Example Response:

{ "enabled": true, "resource_type": "AutomaticHealthCheckToggle", "id": "b9339dce-cf1d-48a4-bd37-d708cfbf101d", "display_name": "automatic-health-check-toggle", "_protection": "NOT_PROTECTED", "_create_user": "system", "_create_time": 1558406740433, "_last_modified_user": "admin", "_last_modified_time": 1558496184400, "_system_owned": false, "_revision": 1 }

Required Permissions:

crud

Feature:

tools_health_check

Additional Errors: