ThreatLocker PortalAPI

Public REST API for the ThreatLocker Portal. 83 operations across 18 resource groups — ActionLog, Application, ApprovalRequest, Computer, ComputerCheckin, ComputerGroup, MaintenanceMode, OnlineDevices, Organization, Policy, Report, SaveSearch, ScheduledAgentAction, SystemAudit, Tag, ThreatLockerVersion, UploadRequest and VDIHyperV. Authentication is an API-key token created under Users > API Users in the portal and sent in the Authorization header; tenant scope is selected with a managedOrganizationId header. The host is instance-specific (https://portalapi..threatlocker.com/portalapi/).

Documentation

Specifications

Other Resources

OpenAPI Specification

threatlocker-portal-openapi-original.json Raw ↑
{
  "openapi": "3.0.4",
  "info": {
    "title": "PortalAPI",
    "version": "v1.0.0"
  },
  "paths": {
    "/portalapi/ActionLog/ActionLogGetByParametersV2": {
      "post": {
        "tags": [
          "ActionLog"
        ],
        "summary": "Get Action Logs By Parameters.",
        "description": "Parameters Values:\r\n            \r\n    {\r\n          \"ActionType\": \"execute | install | network | registry | read | write | move |\r\n                          delete | baseline | powershell | elevate | configuration | dns\",\r\n          \"SourceTableId\": \"ActionLog = 1 | DenyActionLog = 2 | BaselineActionLog = 3 | EventLogActionLog = 4\",\r\n          \"ActionId\": \"Permit = 1 | Deny = 2 | DenyOptionToRequest = 3 | InstallMode = 4 | MissingCoreFiles = 5 | Ringfenced = 6 | AnyDeny = 7\",\r\n          \"GroupBy\": \"FullPath = path | Hash = hash | SourceIp = sourceip | Cert = cert | Hostname = hostname | Username = username | ProcessPath = process\"\r\n    }",
        "parameters": [
          {
            "name": "usenewsearch",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ActionLogParamsDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ActionLogParamsDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ActionLogParamsDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ActionLog/ActionLogGetAllForFileHistory": {
      "get": {
        "tags": [
          "ActionLog"
        ],
        "summary": "Get All File History by hostname and fullpath",
        "description": "Parameters Values:\r\n            \r\n    {\r\n       \"sourceTableId\": \"ActionLog = 1 | DenyActionLog = 2 | BaselineActionLog = 3 | EventLogActionLog = 4\"\r\n    }",
        "parameters": [
          {
            "name": "sourceTableId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "hostname",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fullPath",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 25
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ActionLog/ActionLogGetAllForFileHistoryV2": {
      "get": {
        "tags": [
          "ActionLog"
        ],
        "summary": "Get All File History by hostname and fullpath",
        "description": "Parameters Values:\r\n            \r\n    {\r\n       \"sourceTableId\": \"ActionLog = 1 | DenyActionLog = 2 | BaselineActionLog = 3 | EventLogActionLog = 4\"\r\n    }",
        "parameters": [
          {
            "name": "sourceTableId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "hostname",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fullPath",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "computerId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 25
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ActionLog/ActionLogGetById": {
      "get": {
        "tags": [
          "ActionLog"
        ],
        "summary": "Get Action Logs by Id.",
        "description": "Parameters Values:\r\n            \r\n    {\r\n          \"sourceTableId\": \"ActionLog = 1 | DenyActionLog = 2 | BaselineActionLog = 3 | EventLogActionLog = 4\"\r\n    }",
        "parameters": [
          {
            "name": "actionLogId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "sourceTableId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "addToApplication",
            "in": "query",
            "description": "",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ActionLog/ActionLogGetByIdV2": {
      "get": {
        "tags": [
          "ActionLog"
        ],
        "parameters": [
          {
            "name": "eActionLogId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sourceTableId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "addToApplication",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "getAllParents",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "openedFromLink",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ActionLog/ActionLogGetTestingEnvironmentDetailsById": {
      "post": {
        "tags": [
          "ActionLog"
        ],
        "summary": "Get Testing Environment Details For VDI HyperV",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FileDownloadDetailsDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FileDownloadDetailsDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FileDownloadDetailsDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ActionLog/ActionLogGetPolicyConditionsForPermitApplication": {
      "post": {
        "tags": [
          "ActionLog"
        ],
        "summary": "Get Policy Conditions For Permit Application",
        "description": "Parameters Values:\r\n            \r\n    {\r\n          \"OSType\": \"All = 0 | Windows = 1 | MAC = 2 | Linux = 3\"\r\n          \"ActionType\": \"None = 0 | BaseLine = 1 | Configuration = 2 | Delete = 3 | Elevation = 4 | Execute = 5 |\r\n                         Install = 6 | Move = 7 | Network = 8  | NewProcess = 9  | Powershell = 10 | Read = 11 |  \r\n                         Registry = 12 | Uninstall = 13 | Write = 14 | OSEventLog = 15\",\r\n    }",
        "parameters": [
          {
            "name": "usenewsearch",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PermitApplicationDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PermitApplicationDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PermitApplicationDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ActionLog/ActionLogGetSearchString": {
      "post": {
        "tags": [
          "ActionLog"
        ],
        "summary": "Get Search String (This is for save search).",
        "description": "Parameters Values:\r\n            \r\n    {\r\n           \"ActionType\": \"None = 0 | BaseLine = 1 | Configuration = 2 | Delete = 3 | Elevation = 4 | Execute = 5 |\r\n                         Install = 6 | Move = 7 | Network = 8  | NewProcess = 9  | Powershell = 10 | Read = 11 |  \r\n                         Registry = 12 | Uninstall = 13 | Write = 14 | OSEventLog = 15\",\r\n          \"SourceTableId\": \"ActionLog = 1 | DenyActionLog = 2 | BaselineActionLog = 3 | EventLogActionLog = 4\",\r\n          \"ActionId\": \"Permit = 1 | Deny = 2 | DenyOptionToRequest = 3 | InstallMode = 4 | MissingCoreFiles = 5 | Ringfenced = 6 | AnyDeny = 7\",\r\n          \"GroupBy\": \"FullPath = path | Hash = hash | SourceIp = sourceip | Cert = cert | Hostname = hostname | Username = username | ProcessPath = process\"\r\n    }",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ActionLogParamsDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ActionLogParamsDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ActionLogParamsDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ActionLog/ActionLogGetFileDownloadDetailsById": {
      "get": {
        "tags": [
          "ActionLog"
        ],
        "parameters": [
          {
            "name": "eActionLogId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sourceTableId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/Application/ApplicationGetById": {
      "get": {
        "tags": [
          "Application"
        ],
        "summary": "Get Application by Id.",
        "parameters": [
          {
            "name": "applicationId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/Application/ApplicationGetForNetworkPolicyProcessById": {
      "get": {
        "tags": [
          "Application"
        ],
        "summary": "Get Application Details for Network Policy Process by Id.",
        "parameters": [
          {
            "name": "applicationId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/Application/ApplicationGetResearchDetailsById": {
      "get": {
        "tags": [
          "Application"
        ],
        "summary": "Get Application Research Details by Id.",
        "parameters": [
          {
            "name": "applicationId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/Application/ApplicationGetForMaintenanceMode": {
      "get": {
        "tags": [
          "Application"
        ],
        "summary": "Get Application Options for Maintenance Scheduling",
        "description": "Parameters Values:\r\n            \r\n    {\r\n          \"OSType\": \"All = 0 | Windows = 1 | MAC = 2 | Linux = 3\"\r\n    }",
        "parameters": [
          {
            "name": "osType",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/Application/ApplicationGetMatchingList": {
      "post": {
        "tags": [
          "Application"
        ],
        "summary": "Get Matching Applications",
        "description": "Parameters Values:\r\n            \r\n    {\r\n          \"OSType\": \"All = 0 | Windows = 1 | MAC = 2 | Linux = 3\"\r\n    }",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationMatchParameterDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationMatchParameterDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationMatchParameterDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/Application/ApplicationGetForApplicationOptions": {
      "post": {
        "tags": [
          "Application"
        ],
        "summary": "Load Application",
        "description": "Parameters Values:\r\n            \r\n    {\r\n          \"OSType\": \"All = 0 | Windows = 1 | MAC = 2 | Linux = 3\"\r\n    }",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationGetForApplicationOptionsDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationGetForApplicationOptionsDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ApplicationGetForApplicationOptionsDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ApprovalRequest/ApprovalRequestGetById": {
      "get": {
        "tags": [
          "ApprovalRequest"
        ],
        "summary": "Get Approval Request By ID",
        "parameters": [
          {
            "name": "approvalRequestId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ApprovalRequest/ApprovalRequestGetFileDownloadDetailsById": {
      "get": {
        "tags": [
          "ApprovalRequest"
        ],
        "summary": "Get File Download Details By Approval Request Id",
        "parameters": [
          {
            "name": "approvalRequestId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ApprovalRequest/ApprovalRequestGetPermitApplicationById": {
      "get": {
        "tags": [
          "ApprovalRequest"
        ],
        "summary": "Get Permit Application Details By Approval Request Id",
        "parameters": [
          {
            "name": "approvalRequestId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ApprovalRequest/ApprovalRequestPermitApplication": {
      "post": {
        "tags": [
          "ApprovalRequest"
        ],
        "summary": "Approve Permit Application Request",
        "description": "Parameters Values:\r\n            \r\n    {\r\n       \"osType\": \"All = 0 | Windows = 1 | MAC = 2 | Linux = 3\"\r\n    }",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PermitApplicationDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PermitApplicationDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PermitApplicationDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ApprovalRequest/ApprovalRequestGetStorageApprovalById": {
      "get": {
        "tags": [
          "ApprovalRequest"
        ],
        "summary": "Get Storage Approval Request By Id",
        "parameters": [
          {
            "name": "approvalRequestId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ApprovalRequest/ApprovalRequestPermitStorageApproval": {
      "post": {
        "tags": [
          "ApprovalRequest"
        ],
        "summary": "Approve Storage Request",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StorageApprovalDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StorageApprovalDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StorageApprovalDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ApprovalRequest/ApprovalRequestGetByParameters": {
      "post": {
        "tags": [
          "ApprovalRequest"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApprovalRequestParametersDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ApprovalRequestParametersDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ApprovalRequestParametersDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ApprovalRequest/ApprovalRequestGetCount": {
      "get": {
        "tags": [
          "ApprovalRequest"
        ],
        "summary": "Get Approval Request Pending Count",
        "parameters": [
          {
            "name": "includeChildOrganizations",
            "in": "query",
            "description": "",
            "schema": {
              "type": "boolean",
              "default": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ApprovalRequest/ApprovalRequestUpdateForTakeOwnership": {
      "post": {
        "tags": [
          "ApprovalRequest"
        ],
        "summary": "Take Ownership of Approval Request",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApprovalRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ApprovalRequestDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ApprovalRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ApprovalRequest/ApprovalRequestUpdateForIgnore": {
      "post": {
        "tags": [
          "ApprovalRequest"
        ],
        "summary": "Ignore Approval Request",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApprovalRequestUpdateParametersDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ApprovalRequestUpdateParametersDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ApprovalRequestUpdateParametersDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "deprecated": true
      }
    },
    "/portalapi/ApprovalRequest/ApprovalRequestUpdateForReject": {
      "post": {
        "tags": [
          "ApprovalRequest"
        ],
        "summary": "Reject Approval Request",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApprovalRequestUpdateParametersDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ApprovalRequestUpdateParametersDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ApprovalRequestUpdateParametersDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/ApprovalRequest/ApprovalRequestAuthorizeForPermitById": {
      "post": {
        "tags": [
          "ApprovalRequest"
        ],
        "summary": "Authorize Approval Request for Permit",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApprovalRequestAuthorizeDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ApprovalRequestAuthorizeDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ApprovalRequestAuthorizeDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/Computer/ComputerGetByAllParameters": {
      "post": {
        "tags": [
          "Computer"
        ],
        "summary": "Load Computers By All Parameters",
        "description": "Parameters Values:\r\n            \r\n    \r\n    {\r\n       \"OrderBy\": \"computername | group | action | lastcheckin | computerinstalldate | deniedcountthreedays | updatechannel | threatlockerversion\",\r\n       \"Action\": \" All Computer Mode | Secure | Installation | Learning | MonitorOnly | Manual Update | Pre-Releases | Regular | Expedited | Slow and Steady\",\r\n       \"KindOfAction\": \" Computer Mode | TamperProtectionDisabled | NeedsReview | ReadyToSecure | BaselineNotUploaded | Update Channel\"\r\n    }",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComputerParameterDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ComputerParameterDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ComputerParameterDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/Computer/ComputerGetForEditById": {
      "get": {
        "tags": [
          "Computer"
        ],
        "summary": "Get Computer Information By Id.",
        "parameters": [
          {
            "name": "computerId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/Computer/ComputerUpdateForEdit": {
      "patch": {
        "tags": [
          "Computer"
        ],
        "summary": "Update Computer",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComputerUpdateDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ComputerUpdateDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ComputerUpdateDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/Computer/ComputerUpdateBaselineRescan": {
      "post": {
        "tags": [
          "Computer"
        ],
        "summary": "Update Baseline Rescan Computer",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComputerRescanBaselineDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ComputerRescanBaselineDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ComputerRescanBaselineDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/Computer/ComputerUpdateShouldRestartByIds": {
      "post": {
        "tags": [
          "Computer"
        ],
        "summary": "Restart service for selected computers",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ComputerRestartServiceDto"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ComputerRestartServiceDto"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ComputerRestartServiceDto"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/Computer/ComputerUpdateShouldRestartByOrganization": {
      "post": {
        "tags": [
          "Computer"
        ],
        "summary": "Restart Organization Computers",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "type": "boolean"
              }
            },
            "text/json": {
              "schema": {
                "type": "boolean"
              }
            },
            "application/*+json": {
              "schema": {
                "type": "boolean"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/portalapi/Computer/ComputerMoveToOtherOrganization": {
      "post": {
        "tags": [
          "Computer"
        ],
        "summary": "Move Computer",
        "description": "Parameters Values:\r\n            \r\n    {\r\n         \"MaintenanceTypeId\": \" MonitorOnly = 1 | Installation Mode = 2 | Learning = 3 | Elevation Mode = 4 | Learning Mode Hash Only = 5 | TamperProtectionDisabled = 6\",\r\n          \"OSType\": \"Windows = 1 | MAC = 2 | Linux = 3\"\r\n    }",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComputerTransferDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ComputerTransferDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ComputerTransferDto"
     

# --- truncated at 32 KB (197 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/threatlocker/refs/heads/main/openapi/threatlocker-portal-openapi-original.json