Get Ldap Identity Source
Returns the configuration of the LDAP identity source identified by identity-source-id.
The id of the LDAP identity source, as returned by GET /iam/ldap-identity-sources.
If true, Installer re-probes connectivity to the LDAP server before responding and
includes the fresh result in connectivity_result. Defaults to false, which returns
the stored configuration without re-checking connectivity (faster, but the connectivity
result may be stale).
The LDAP identity source was retrieved successfully.
{
"id": "8f3a1c2b-5678-4e22-8b4d-1a2b3c4d5e6f",
"domain_name": "corp.example.com",
"base_distinguished_name": "dc=corp,dc=example,dc=com",
"ldap_type": "ACTIVE_DIRECTORY",
"ldap_server": {
"url": "ldaps://ldap.corp.example.com:636",
"bind_identity": "[email protected]",
"enabled": true
},
"connectivity_result": {
"result": "SUCCESS"
}
}
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
4XX and 5XX type errors with appropriate message
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -H 'Authorization: <value>' https://{api_host}/https://{api_host}:{port}/lh-appliance/iam/ldap-identity-sources/{identity-source-id}