v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
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