API Reference
POST
stop-elasticsearchStop Elasticsearch
Stop Elasticsearch is a POST request to https://api.sharkcluster.com/stop-elasticsearch in the Server Management section of the SharkCluster API. Stops the Elasticsearch service on the server. It takes 1 parameter, 1 required (server_id).
Request URL
POST
https://api.sharkcluster.com/stop-elasticsearchHow do you call Stop Elasticsearch?
- 1Send a POST request to https://api.sharkcluster.com/stop-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 Stop Elasticsearch return?
A failed call explains the problem in the body, for example "Error description (e.g., Server not found)".
Related Server Management endpoints
- GET
get_server_other_services_config/:serverIdGet Server Other Services Config - POST
install-elasticsearchInstall Elasticsearch - POST
restart-elasticsearchRestart Elasticsearch - POST
uninstall-elasticsearchUninstall Elasticsearch - POST
configure-elasticsearchConfigure Elasticsearch - POST
elasticsearch-logsGet Elasticsearch Logs
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.