/portalAPI/Permission/*

2 min. readlast update: 04.10.2025

This article will encompass all portalAPI calls that are related to /portalAPI/Permission/* 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

 

PermissionGetForAdministrator

https://portalapi.INSTANCE.threatlocker.com/portalapi/Permission/PermissionGetForAdministrator

  • Method: POST
  • Description: This API is used when clicking on the Users page in the ThreatLocker Portal and then selecting to edit an existing user by clicking on their user account in the User tab. This API is also used when selecting the Additional Options hamburger dropdown and clicking on the New User button. This API will get the list of available permissions that may be applied for either the existing user or a user that will be created. The permissions returned by this API are not dependent on the permissions applied to the current user creating or updating the chosen user account. All permissions available in ThreatLocker will be returned for the current user completing the call. However, when applying permissions to a user account, the permissions that may be applied will be limited to the permissions already applied to the current user creating or updating the chosen user account.
  • Required Body/Parameters
    • Valid APIKey/Authorization Token in header
    • No specific fields are required to be entered into the body, only the brackets as shown in the body below are required

{

}

  • Optional Body/Parameters
    • N/A
  • Permissions Needed for User
    • Edit Administrators
    • View Administrators
Was this article helpful?