API examples

edit

Learn how to use the Elastic Cloud Enterprise RESTful API by example:

You can find additional RESTful API examples in:

The examples in this section all use HTTPS over port 12443 and run against a host that holds the coordinator role. Using HTTPS requires that you have a TLS certificate already installed. For testing purposes only, you can specify the -k option to turn off certificate verification, as shown in our examples, or use HTTP over port 12400 until you get your TLS certificate sorted out.