Get All Ldap Identity Sources
Returns every LDAP identity source configured on Installer, used to authenticate remote users and groups in addition to local accounts.
Offset pagination parameter used to exclude from a response the first N items of a resource collection. Combine the offset and the page_size options to request a particular set or page of items.
Number of records to be returned in the API request from the provided offset
True, if the list of records returned need to be sorted in ascending order, false otherwise.
The parameter name on which to sort the list of records. Only top-level parameters in the returned list of records will be supported. If not provided, system will define the parameter by which results are sorted.
The list of LDAP identity sources was retrieved successfully.
{
"offset": 0,
"number_of_results": 1,
"total_result_count": 1,
"total_pages": 1,
"sort_ascending": true,
"sort_by": "domain_name",
"results": [
{
"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