Delete autoscaling policy APIedit

This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.

Delete autoscaling policy.

Requestedit

DELETE /_autoscaling/policy/<name>

Prerequisitesedit

Descriptionedit

This API deletes an autoscaling policy with the provided name.

Examplesedit

This example deletes an autoscaling policy named my_autoscaling_policy.

DELETE /_autoscaling/policy/my_autoscaling_policy

The API returns the following result:

{
  "acknowledged": true
}

This example deletes all autoscaling policies.

DELETE /_autoscaling/policy/*

The API returns the following result:

{
  "acknowledged": true
}