- Home
- Resources
- LDAP User Sources
GET /admin/user_sources
Retrieves all of the configured LDAP User Sources.
Response Body
media type |
data type |
description |
application/json |
SearchResultList
(JSON) |
A SearchResultList of LdapUserSource objects. |
application/xml |
searchResultList
(XML) |
POST /admin/user_sources
Creates a new LDAP User Source.
The following LDAP User Source fields are mandatory:
- url
- username_attribute
- guid_attribute
- username
- password
- user_contexts
Response Body
media type |
data type |
description |
application/json |
LdapUserSource
(JSON) |
The new Ldap User Source object. |
application/xml |
ldapUserSource
(XML) |
POST /admin/user_sources/sync
Triggers a sync of all LDAP User Sources.
The request blocks until the sync has completed.
GET /admin/user_sources/sync_config
Retrieves the current User Source Synchronization settings.
PUT /admin/user_sources/sync_config
Updates the User Source Synchronization settings. Only the fields that are included in the request body are updated.
DELETE /admin/user_sources/{id}
Deletes an LDAP User Source.
Request Parameters
name |
type |
description |
id |
path |
|
Response Codes
code |
condition |
204 |
The LDAP User Source is deleted successfully |
404 |
(LDAP_CONFIG_NOT_FOUND) No LDAP User Source exists with the specified ID. |
GET /admin/user_sources/{id}
Retrieves an LDAP User Source.
Request Parameters
name |
type |
description |
id |
path |
|
Response Codes
code |
condition |
404 |
(LDAP_CONFIG_NOT_FOUND) No LDAP User Source exists with the specified ID. |