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.
Values are
-1
or0
. -
The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
Values are
-1
or0
.
DELETE /_slm/policy/{policy_id}
Console
DELETE /_slm/policy/daily-snapshots
resp = client.slm.delete_lifecycle( policy_id="daily-snapshots", )
const response = await client.slm.deleteLifecycle({ policy_id: "daily-snapshots", });
response = client.slm.delete_lifecycle( policy_id: "daily-snapshots" )
$resp = $client->slm()->deleteLifecycle([ "policy_id" => "daily-snapshots", ]);
curl -X DELETE -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_slm/policy/daily-snapshots"