[[reference-autoscaling-delete_autoscaling_policy]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || This file is autogenerated, DO NOT send pull requests that changes this file directly. || || You should update the script that does the generation, which can be found in: || || https://github.com/elastic/elastic-client-generator-js || || || || You can run the script with the following command: || || npm run elasticsearch -- --version || || || || || || || =========================================================================================================================== //////// ++++ ++++ [[client.autoscaling.deleteAutoscalingPolicy]] == client.autoscaling.deleteAutoscalingPolicy Delete an autoscaling policy. NOTE: This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported. {ref}/autoscaling-delete-autoscaling-policy.html[{es} documentation] [discrete] == Function signature [source,ts] ---- (AutoscalingDeleteAutoscalingPolicyRequest, options?): Promise ---- [discrete] === Request [source,ts,subs=+macros] ---- interface AutoscalingDeleteAutoscalingPolicyRequest extends <> { name: <> } ---- [discrete] === Response [source,ts,subs=+macros] ---- type AutoscalingDeleteAutoscalingPolicyResponse = <> ----