This article will encompass all portalAPI calls that are related to /portalAPI/Application/* 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
ApplicationGetForMaintenanceMode
https://portalapi.INSTANCE.threatlocker.com/portalapi/Application/ApplicationGetForMaintenanceMode
- Method: GET
- Description: This API will get all the applications accessible when looking to enable a Maintenance Mode on an endpoint. This API passes in osType as an integer, with a default value of 1 when nothing is provided. When selecting to add into an application utilizing a Maintenance Mode, it will pull the list of all applications available to learn or install into. To view the applications in a child organization, add an additional header for "managedOrganizationId" and input the child organization you would like to view the applications in. This can be used to analyze the applications in your organization that are available for use with a Maintenance Mode and for analyzing your applications as a whole.
- NOTE: This will include all the applications the organization and/or currently authenticated user has access to. This will include access to parent applications and will show in the following field in the "label" field when run: "parentOrganizationName\\parentOrganizationApplicationName".
- Required parameters
- Requires valid APIKey/Authorization Token in header
- Optional parameters
- osType (Defaults to 1)
- Windows = 1
- MAC = 2
- Linux = 3
- Windows XP = 5
- In header: "managedOrganizationId": <GUID> in format "00000000-0000-0000-0000-000000000000"
- osType (Defaults to 1)
-
Permissions
- Edit Computers
- Edit Application Control Applications