Elastic Cloud API principles
Elastic Cloud Hosted lets you manage and configure one or more deployments of the versioned Elastic Stack, hosted on Elastic Cloud. Availability This functionality is generally available and ready for production usage.
ECH
Generally available
The Elastic Cloud API is built on REST. This means that:
- URLs are based on resource IDs.
- JSON is the data interchange format.
- Standard HTTP response codes and verbs are used.
RESTful API calls are stateless. Every request that you make happens in isolation from other calls and must include all the information necessary for Elastic Cloud to fulfill the request. API requests return JSON output, which is a format that is machine-readable and works well for automation.
Calls to API endpoints require different request methods, depending on what they do. You use these four request methods to communicate with the Elastic Cloud RESTful API:
- To fetch a resource:
GET - To create a new resource:
POST - To update an existing resource:
PUTorPATCH - To delete a resource:
DELETE