POST
/
api
/
v1
/
auth
/
ldap-auth
/
login
cURL
curl --request POST \
  --url https://us.infisical.com/api/v1/auth/ldap-auth/login \
  --header 'Content-Type: application/json' \
  --data '{
  "identityId": "<string>",
  "username": "<string>",
  "password": "<string>"
}'
{
  "accessToken": "<string>",
  "expiresIn": 123,
  "accessTokenMaxTTL": 123,
  "tokenType": "Bearer"
}

Body

application/json
identityId
string
required

The ID of the identity to login.

username
string
required

The username of the LDAP user to login.

password
string
required

The password of the LDAP user to login.

Response

Default Response

accessToken
string
required
expiresIn
number
required
accessTokenMaxTTL
number
required
tokenType
enum<string>
required
Available options:
Bearer