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.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

/rest/users/pruneLdapUsers


Descriptor

Value

HTTP Method

POST

Description

Removes pruned LDAP users from system.

Required Permission

Manage Users

Version Introduced2.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 users were removed.

Sample Call:

curl -H 'Accept: application/json' -H "Authorization: APIKEY {apiKey}" -X POST --data 'activeDirectoryId=2' http://localhost:8080/threadfix/rest/users/pruneLdapUsers

Sample Output:

{
    "message": "",
    "success": true,
    "responseCode": -1,
    "object": "Successfully pruned 10 user(s) of LDAP Vanilla Ice from ThreadFix."
}
  • No labels