Query parameters
-
The period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. To indicate that the request should never timeout, set it to
-1
.External documentation -
The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. To indicate that the request should never timeout, set it to
-1
.External documentation
POST /_slm/start
Console
POST _slm/start
resp = client.slm.start()
const response = await client.slm.start();
response = client.slm.start
$resp = $client->slm()->start();
curl -X POST -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_slm/start"
Response examples (200)
A successful response from `POST _slm/start`.
{ "acknowledged": true }