Skip to main content
POST
cURL

Body

application/json
identityId
string<uuid>
required

The ID of the machine identity to login.

username
string
required

The username of the LDAP user to login.

Required string length: 1 - 255
password
string
required

The password of the LDAP user to login.

Required string length: 1 - 1024
organizationSlug
string

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.

Required string length: 1 - 64

Response

Default Response

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