This article will encompass all portalAPI calls that are related to /portalAPI/ThreatLockerVersion/* endpoints
Be sure to input the instance your organization exists on for each call. This is indicated with the "INSTANCE" text in each endpoint. Linked here is a KB to find your instance:
Locating Your Organization's Instance | ThreatLocker Help Center
ThreatLockerVersionGetForDropdownList
https://portalapi.INSTANCE.threatlocker.com/portalapi/ThreatLockerVersion/ThreatLockerVersionGetForDropdownList
- Method: GET
- Description: This API is used whenever a dropdown is generated in the ThreatLocker Portal to change the version of ThreatLocker on your endpoints. This is used on the Computers and Groups tab on the Devices page when clicking on the current ThreatLocker Version entry within the list of Computer or Computer Groups. This API will return a list of all ThreatLocker Versions that are available to be upgraded or downgraded to. Listed below are some of the fields that are returned when completing this API call.
- NOTE: The fields listed below can not be passed in or used with this API. They are listed for ease of locating ThreatLocker versions and understanding the output from this API.
- label: This field indicates how the specific version will be displayed in the ThreatLocker Portal and will show the number and typically sub-version (ex. 9.3.3) of the main version.
- value: This field is the ThreatLockerVersionId assigned to each version.
- isEnabled: This field determines whether the version is usable/can be installed onto a machine.
- dateTime: This field indicates when the ThreatLocker Version was added to the ThreatLocker Portal.
- isDefault: This field determines the version that will be set when creating a new computer group.
- OSTypes
- Windows = 1
- MAC = 2
- Linux = 3
- Windows XP = 5
- NOTE: The fields listed below can not be passed in or used with this API. They are listed for ease of locating ThreatLocker versions and understanding the output from this API.
- Required Body/Parameters
- Valid APIKey/Authorization Token in header
- Optional Body/Parameters
- N/A
- Permissions Needed for User
- Edit Computers
- Edit Computer Groups
- View Computers
- Install Computers