How to Authenticate against v0.1 Rest API in ECE

Continuing the discussion from Reset Elasticsearch Deployment Passsword using API:

Finally got time to implement this, but looks like authentication to a v0.1 endpoint is a bit different then to the v1.0 APIs in ECE.

As far as i can tell a bearer authentication token is required but how do i get such a token if i "only" have the admin user and pw for the elastic cloud enterprise cloudui / api.

Hi Stefan,
you can send {"username":"admin","password":"$PASSWORD"} to POST /api/v0.1/login

Thanks a lot Yuri for pointing me into the right direction.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.