API Reference
POST
restart-elasticsearchRestart Elasticsearch
Restart Elasticsearch is a POST request to https://api.sharkcluster.com/restart-elasticsearch in the Server Management section of the SharkCluster API. Restarts the Elasticsearch service on the server. It takes 1 parameter, 1 required (server_id).
Request URL
POST
https://api.sharkcluster.com/restart-elasticsearchHow do you call Restart Elasticsearch?
- 1Send a POST request to https://api.sharkcluster.com/restart-elasticsearch.
- 2Include the required parameter: server_id.
Request parameters
| Parameter | Type | Description |
|---|---|---|
server_idRequired | string | The unique identifier or Instance ID of the server. |
What does Restart Elasticsearch return?
A failed call explains the problem in the body, for example "Error description (e.g., Server not found)".
Related Server Management endpoints
- PUT
update_server_monitoring_settings/:serverIdUpdate Server Monitoring Settings - GET
get_server_other_services_config/:serverIdGet Server Other Services Config - POST
install-elasticsearchInstall Elasticsearch - POST
stop-elasticsearchStop Elasticsearch - POST
uninstall-elasticsearchUninstall Elasticsearch - POST
configure-elasticsearchConfigure Elasticsearch
Stuck on an integration?
Raise a ticket from the panel with the endpoint and the response you got back — it reaches an engineer with your server already attached.