# Elasticsearch API ## API Docs - Accounts [Updates the current account](https://elasticsearch.apifox.cn/api-6255741.md): Updates the current account. - Accounts [Updates the current account](https://elasticsearch.apifox.cn/api-6255742.md): Updates the current account. - Accounts [Fetch current account information](https://elasticsearch.apifox.cn/api-6255743.md): Fetch current account information. - Authentication [Delete API key](https://elasticsearch.apifox.cn/api-6255744.md): Delete or invalidate the API key. - Authentication [Get API key](https://elasticsearch.apifox.cn/api-6255745.md): Retrieves the metadata for an API key. - Authentication [Create API key](https://elasticsearch.apifox.cn/api-6255746.md): Creates a new API key. - Authentication [Delete API keys](https://elasticsearch.apifox.cn/api-6255747.md): Delete or invalidate API keys. - Authentication [Get all API keys](https://elasticsearch.apifox.cn/api-6255748.md): Retrieves the metadata for all of the API keys that the user generated. - BillingCostsAnalysis [Get costs overview for the organization](https://elasticsearch.apifox.cn/api-6255749.md): EXPERIMENTAL (it may change in future versions): Retrieves an overview of the costs by organization ID. - BillingCostsAnalysis [Get deployments costs for the organization](https://elasticsearch.apifox.cn/api-6255750.md): EXPERIMENTAL (it may change in future versions): Retrieves the costs associated with all deployments for the organization. - BillingCostsAnalysis [Get itemized costs for the organization](https://elasticsearch.apifox.cn/api-6255751.md): EXPERIMENTAL (it may change in future versions): Retrieves the itemized costs for the organization. - BillingCostsAnalysis [Get itemized costs by deployments](https://elasticsearch.apifox.cn/api-6255752.md): EXPERIMENTAL (it may change in future versions): Retrieves the itemized costs for the given deployment. - DeploymentTemplates [Get deployment templates](https://elasticsearch.apifox.cn/api-6255753.md): Retrieves all deployment templates. - DeploymentTemplates [Get deployment template](https://elasticsearch.apifox.cn/api-6255754.md): Retrieves a deployment template by id. - Deployments [Shutdown Deployment Elasticsearch Resource](https://elasticsearch.apifox.cn/api-6255755.md): Shutdown Elasticsearch Resource belonging to a given Deployment. - Deployments [Start all instances](https://elasticsearch.apifox.cn/api-6255756.md): Starts all instances belonging to a Deployment Resource. - Deployments [Restores a shutdown resource](https://elasticsearch.apifox.cn/api-6255757.md): Restores a shutdown resource belonging to a given Deployment. - Deployments [Restores a shutdown Deployment](https://elasticsearch.apifox.cn/api-6255758.md): Restores all resources in a Deployment. - Deployments [Set remote clusters](https://elasticsearch.apifox.cn/api-6255759.md): Overwrites or creates the remote clusters for the elasticsearch resource. - Deployments [Get remote clusters](https://elasticsearch.apifox.cn/api-6255760.md): Returns the list of remote clusters for the elasticsearch resource. - Deployments [Stop instances](https://elasticsearch.apifox.cn/api-6255761.md): Stops instances belonging to a Deployment Resource. - Deployments [Reset the secret token for an APM resource.](https://elasticsearch.apifox.cn/api-6255762.md): Reset the token of an APM resource. - Deployments [Get Deployment Enterprise Search Resource Info](https://elasticsearch.apifox.cn/api-6255763.md): Get info about an Enterprise Search Resource belonging to a given Deployment. - Deployments [Get Deployment Kibana Resource Info](https://elasticsearch.apifox.cn/api-6255764.md): Get info about a Kibana Resource belonging to a given Deployment. - Deployments [Set AppSearch read-only status](https://elasticsearch.apifox.cn/api-6255765.md): Enable/Disable read-only mode on the given App Search resource. - Deployments [Set AppSearch read-only status](https://elasticsearch.apifox.cn/api-6255766.md): Enable/Disable read-only mode on the given App Search resource. - Deployments [Start instances](https://elasticsearch.apifox.cn/api-6255767.md): Starts instances belonging to a Deployment Resource. - Deployments [Restart Deployment Stateless Resource](https://elasticsearch.apifox.cn/api-6255768.md): Restarts a Stateless Resource. If a Resource is active: this command re-applies the existing plan but applies a "cluster_reboot", which issues a restart command and waits for it to complete. If a Resource is inactive: this command starts it up with the most recent successful plan. - Deployments [Shuts down Deployment](https://elasticsearch.apifox.cn/api-6255769.md): Shuts down all resources in a Deployment. - Deployments [Migrate Elasticsearch resource to use SLM](https://elasticsearch.apifox.cn/api-6255770.md): Migrates the specified Elasticsearch resource to use SLM. - Deployments [Start maintenance mode](https://elasticsearch.apifox.cn/api-6255771.md): Starts maintenance mode of instances belonging to a Deployment Resource. - Deployments [Restart Deployment Elasticsearch Resource](https://elasticsearch.apifox.cn/api-6255772.md): Restarts an Elasticsearch Resource. If a Resource is active: this command re-applies the existing plan but applies a "cluster_reboot", which issues a restart command and waits for it to complete. If a Resource is inactive: this command starts it up with the most recent successful plan. - Deployments [Start maintenance mode (all instances)](https://elasticsearch.apifox.cn/api-6255773.md): Starts maintenance mode of all instances belonging to a Deployment Resource. - Deployments [Reset 'elastic' user password](https://elasticsearch.apifox.cn/api-6255774.md): Resets the password of the 'elastic' user. - Deployments [Stop all instances](https://elasticsearch.apifox.cn/api-6255775.md): Stops all instances belonging to a Deployment Resource. - Deployments [Migrate Elasticsearch and associated Kibana resources to enable CCR](https://elasticsearch.apifox.cn/api-6255776.md): Migrates the specified Elasticsearch resource and its associated Kibana to enable CCR (if supported). - Deployments [Add or remove settings from the Elasticsearch resource keystore](https://elasticsearch.apifox.cn/api-6255777.md): Fetches the current values of the keystore for the Elasticsearch resource. - Deployments [Get the settings from the Elasticsearch resource keystore](https://elasticsearch.apifox.cn/api-6255778.md): Adds the specified values to the Elasticsearch keystore, or removes the keys for the unspecified values. - Deployments [Search Deployments](https://elasticsearch.apifox.cn/api-6255779.md): Retrieves the information for all of the deployments that match the specified query. - Deployments [Get eligible remote clusters](https://elasticsearch.apifox.cn/api-6255780.md): Returns the list of deployments which contain eligible remote clusters for the elasticsearch resource. - Deployments [Update Deployment](https://elasticsearch.apifox.cn/api-6255781.md): Updates a Deployment. - Deployments [Get Deployment](https://elasticsearch.apifox.cn/api-6255782.md): Retrieves information about a Deployment. - Deployments [Get Deployment Elasticsearch Resource Info](https://elasticsearch.apifox.cn/api-6255783.md): Get info about an Elasticsearch Resource belonging to a given Deployment. - Deployments [Stop maintenance mode (all instances)](https://elasticsearch.apifox.cn/api-6255784.md): Stops maintenance mode of all instances belonging to a Deployment Resource. - Deployments [Migrate Elasticsearch resource to use ILM](https://elasticsearch.apifox.cn/api-6255785.md): Migrates the specified Elasticsearch resource to use ILM. - Deployments [Shutdown Deployment Stateless Resource](https://elasticsearch.apifox.cn/api-6255786.md): Shut down Stateless Resource belonging to a given Deployment. - Deployments [Get Deployment APM Resource Info](https://elasticsearch.apifox.cn/api-6255787.md): Get info about an APM Resource belonging to a given Deployment. - Deployments [Stop maintenance mode](https://elasticsearch.apifox.cn/api-6255788.md): Stops maintenance mode of instances belonging to a Resource. - Deployments [Cancel resource pending plan](https://elasticsearch.apifox.cn/api-6255789.md): Cancels the pending plan of a Resource belonging to a given Deployment. - Deployments [Get Deployment App Search Resource Info](https://elasticsearch.apifox.cn/api-6255790.md): Get info about an App Search Resource belonging to a given Deployment. - Deployments [Get eligible remote clusters](https://elasticsearch.apifox.cn/api-6255791.md): Returns the list of deployments which contain eligible remote clusters for a specific version. - Deployments [Create Deployment](https://elasticsearch.apifox.cn/api-6255792.md): Creates a Deployment. - Deployments [List Deployments](https://elasticsearch.apifox.cn/api-6255793.md): List Deployments. - Deployments [Upgrade Kibana, APM, AppSearch inside Deployment](https://elasticsearch.apifox.cn/api-6255794.md): Upgrades a running cluster. - DeploymentsTrafficFilter [Delete ruleset association](https://elasticsearch.apifox.cn/api-6255795.md): Deletes the traffic rules in the ruleset from the deployment. - DeploymentsTrafficFilter [Create ruleset association](https://elasticsearch.apifox.cn/api-6255796.md): Applies the ruleset to the specified deployment. - DeploymentsTrafficFilter [Get associated deployments](https://elasticsearch.apifox.cn/api-6255797.md): Retrieves a list of deployments that are associated to the specified ruleset. - DeploymentsTrafficFilter [Create a ruleset](https://elasticsearch.apifox.cn/api-6255798.md): Creates a ruleset that consists of a set of rules. - DeploymentsTrafficFilter [List traffic filter rulesets](https://elasticsearch.apifox.cn/api-6255799.md): List all of the traffic filter rulesets. - DeploymentsTrafficFilter [Get associated rulesets](https://elasticsearch.apifox.cn/api-6255800.md): Retrieves the rulesets associated with a deployment. - DeploymentsTrafficFilter [Updates a ruleset](https://elasticsearch.apifox.cn/api-6255801.md): Updates the ruleset with the definition. - DeploymentsTrafficFilter [Delete a ruleset](https://elasticsearch.apifox.cn/api-6255802.md): Deletes the ruleset by ID. - DeploymentsTrafficFilter [Retrieves the ruleset by ID.](https://elasticsearch.apifox.cn/api-6255803.md): Retrieves a list of resources that are associated to the specified ruleset. - Extensions [Create an extension](https://elasticsearch.apifox.cn/api-6255804.md): Creates the extension. - Extensions [List Extensions](https://elasticsearch.apifox.cn/api-6255805.md): Retrieves all of the available extensions. - Extensions [Uploads the Extension](https://elasticsearch.apifox.cn/api-6255806.md): Uploads archive for an extension. - Extensions [Update Extension](https://elasticsearch.apifox.cn/api-6255807.md): Updates an extension. - Extensions [Delete Extension](https://elasticsearch.apifox.cn/api-6255808.md): Deletes a Extension. - Extensions [Get Extension](https://elasticsearch.apifox.cn/api-6255809.md): Retrieves an extension. - Stack [Get stack versions](https://elasticsearch.apifox.cn/api-6255810.md): By default, retrieves only the available Elastic Stack versions. To retrieve all of the Elastic Stack versions, use the `show_deleted parameter`.