Nextgen Ldap

This contains APIs related to Nextgen Ldap as defined in Harness

Return Ldap groups matching name

Returns all userGroups for the configured Ldap in the account matching a given name.

SecurityApiKey
Request
path Parameters
ldapId
required
string

Ldap setting id

query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

name
required
string
Responses
400

Bad Request

500

Internal server error

default

Returns ldap groups matching a given name

get/ng/api/ldap/{ldapId}/search/group
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}

Test LDAP authentication

Tests LDAP authentication for the given Account ID, with a valid test email and password

SecurityApiKey
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

Request Body schema: multipart/form-data
email
string

This should be a valid test email

password
string

This should be a valid password for the test email

Responses
400

Bad Request

500

Internal server error

default

Returns authentication status

post/ng/api/ldap/ldap-login-test
Request samples
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}