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.
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.
External documentation
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" client.slm().deleteLifecycle(d -> d .policyId("daily-snapshots") );