LDAP Auth

Login with LDAP Auth for machine identity

post/api/v1/auth/ldap-auth/login

Request body

identityIdstring uuid required

The ID of the machine identity to login.

usernamestring required

The username of the LDAP user to login.

passwordstring required

The password of the LDAP user to login.

organizationSlugstring

When set, this will scope the login session to the specified organization the machine identity has access to. If omitted, the session defaults to the organization where the machine identity was created in.

Response

Default Response

accessTokenstring required
expiresInnumber required
accessTokenMaxTTLnumber required
tokenType'Bearer' required

Changes

Changed in 1 of the 20 revisions of this API.2

    • the password request property's maxLength was set to 1024

      request-property-max-length-set

    • the username request property's maxLength was set to 255

      request-property-max-length-set