Find how to authenticate with Lenses APIs.
You can use HTTP Basic Authentication if you are an Administrator with a username and password (non-SSO).
To check if you are an Administrator, go to My profile > Organisation settings > Administrators
.
Get your user details via API:
Use a Bearer Token to authenticate service accounts. Set the token in the HTTP header request.
Get the list of environments via API: