As of December 31st, 2023 ThreadFix 2.X has reached End of Life and is no longer supported. For any further information please contact the Success and Implementation team.
Import LDAP Users - API
/rest/{version}/users/importLdapUsers
Descriptor | Value |
---|---|
HTTP Method | POST |
Description | Adds LDAP users to system. |
Required Permission | Manage Users |
Version Introduced | 2.6.2 |
Request Header Parameters
Parameter | Value | Required | Description |
---|---|---|---|
Accept | String | Yes | A value of ‘application/json’ must be provided. |
Request POST Data Parameters
Parameter | Value | Required | Description |
---|---|---|---|
activeDirectoryId | String | Yes | Active directory from which to import. |
importLdapGroups | String | No | Enable to import groups from the active directory |
Sample Call:
curl -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" -X POST --data 'activeDirectoryId=2&importLdapGroups=true' http://localhost:8080/threadfix/rest/latest/users/importLdapUsers
Sample Output:
{ "message": "", "success": true, "responseCode": -1, "object": "Successfully imported 103 user(s) of LDAP Vanilla Ice into ThreadFix." }
www.threadfix.it | www.coalfire.com
Copyright © 2024 Coalfire. All rights reserved.
This Information Security Policy is CoalFire - Public: Distribution of this material is not limited.