API Authentication

Find how to authenticate with Lenses APIs.

Administrator Basic Authentication

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.

post

Starts a session given a username/password and puts it into a cookie.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Body

Bundles a username/password for authentication purposes.

usernamestringRequired
passwordstringRequired
Responses
post
/v1/login
204

Happy response. A set-cookie header will be present.

No content

Service Accounts

Use a Bearer Token to authenticate service accounts. Set the token in the HTTP header request.

Last updated

Was this helpful?