Nextgen Ldap

This contains APIs related to Nextgen Ldap as defined in Harness

Get the NgLdap Setting

For the given accountId fetch and return the ng ldap settings

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Responses
400

Bad Request

500

Internal server error

default

Get the NgLdap Setting

get/ng/api/ldap/ngLdapSettings
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

Securityx-api-key
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": [
    ]
}

Return Ldap groups matching name

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

Securityx-api-key
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": [
    ]
}