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 will return a list of all ThreatLocker Versions that are available to be upgraded or downgraded to. This will include the ThreatLockerVersionIds plus all additional version information. The “label” indicates how this 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. The “value” field is the ThreatLockerVersionId assigned to each version. “isEnabled” determines whether the version is usable/can be installed onto a machine. The dateTime field is when the ThreatLocker Version was added to the ThreatLocker portal. The “OSTypes” are listed below by their IDs. The “isDefault” value determines the version that will be set when creating a new computer group.
- OSTypes
- Windows = 1
- MAC = 2
- Linux = 3
- Windows XP = 5
- OSTypes
- Required body/parameters
- Requires valid APIKey/Authorization Token in header
- Permissions
- Edit Computers
- Edit Computer Groups
- View Computers
- Install Computers