ThreatLocker Maintenance Mode API

The MaintenanceMode API from ThreatLocker — 4 operation(s) for maintenancemode.

Operations 4

GET /portalapi/MaintenanceMode/MaintenanceModeGetByComputerId Get Maintenance Schedule By Computer Id #
POST /portalapi/MaintenanceMode/MaintenanceModeInsert Add to Maintenance Schedule #
PATCH /portalapi/MaintenanceMode/MaintenanceModeEndById End Maintenance Schedule #
POST /portalapi/MaintenanceMode/MaintenanceModeUpdateEndDateTimeForSpecificDate Updated Maintenance Mode End Date Time #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/threatlocker-maintenancemode-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

threatlocker-maintenancemode-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Portal Maintenance Mode API
  version: v1.0.0
security:
- Authorization: []
  ManagedOrganizationId: []
  OverrideManagedOrganizationId: []
tags:
- name: MaintenanceMode
paths:
  /portalapi/MaintenanceMode/MaintenanceModeGetByComputerId:
    get:
      tags:
      - MaintenanceMode
      summary: Get Maintenance Schedule By Computer Id
      parameters:
      - name: computerId
        in: query
        description: ''
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
      deprecated: true
      operationId: getPortalapiMaintenanceModeMaintenanceModeGetByComputerId
      x-operation-id-source: derived
  /portalapi/MaintenanceMode/MaintenanceModeInsert:
    post:
      tags:
      - MaintenanceMode
      summary: Add to Maintenance Schedule
      description: 'Parameters Values:


        {

        "AutomaticApplicationType": " empty = 0 | Automatic Computer = 1 | Automatic Group = 2 | Automatic System = 3",

        "MaintenanceTypeId": " MonitorOnly = 1 | Installation Mode = 2 | Learning = 3 | Elevation Mode = 4 | Learning Mode Hash Only = 5 | TamperProtectionDisabled = 6"

        }'
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MaintenanceModeInsertDto'
          text/json:
            schema:
              $ref: '#/components/schemas/MaintenanceModeInsertDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/MaintenanceModeInsertDto'
      responses:
        '200':
          description: OK
      operationId: postPortalapiMaintenanceModeMaintenanceModeInsert
      x-operation-id-source: derived
  /portalapi/MaintenanceMode/MaintenanceModeEndById:
    patch:
      tags:
      - MaintenanceMode
      summary: End Maintenance Schedule
      description: 'Parameters Values:


        {

        "AppliesToType": " empty = 0 | Automatic Computer = 1 | Automatic Group = 2 | Automatic System = 3",

        "MaintenanceTypeId": " MonitorOnly = 1 | Installation Mode = 2 | Learning = 3 | Elevation Mode = 4 | Learning Mode Hash Only = 5 | TamperProtectionDisabled = 6"

        }'
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MaintenanceModeEndDto'
          text/json:
            schema:
              $ref: '#/components/schemas/MaintenanceModeEndDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/MaintenanceModeEndDto'
      responses:
        '200':
          description: OK
      operationId: patchPortalapiMaintenanceModeMaintenanceModeEndById
      x-operation-id-source: derived
  /portalapi/MaintenanceMode/MaintenanceModeUpdateEndDateTimeForSpecificDate:
    post:
      tags:
      - MaintenanceMode
      summary: Updated Maintenance Mode End Date Time
      description: 'Parameters Values:


        {

        "MaintenanceTypeId": " MonitorOnly = 1 | Installation Mode = 2 | Learning = 3 | Elevation Mode = 4 | Learning Mode Hash Only = 5 | TamperProtectionDisabled = 6",

        "OSType": "Windows = 1 | MAC = 2 | Linux = 3"

        }'
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MaintenanceModeUpdateEndDateTimeDto'
          text/json:
            schema:
              $ref: '#/components/schemas/MaintenanceModeUpdateEndDateTimeDto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/MaintenanceModeUpdateEndDateTimeDto'
      responses:
        '200':
          description: OK
      operationId: postPortalapiMaintenanceModeMaintenanceModeUpdateEndDateTimeForSpecificDate
      x-operation-id-source: derived
components:
  schemas:
    MaintenanceModeEndDto:
      type: object
      properties:
        appliesToType:
          type: integer
          format: int32
        computerId:
          type: string
          format: uuid
          default: 00000000-0000-0000-0000-000000000000
        computerInstallDate:
          type:
          - string
          - 'null'
          format: date-time
        endDateTime:
          type: string
          format: date-time
        maintenanceModeId:
          type: string
          format: uuid
          default: 00000000-0000-0000-0000-000000000000
        maintenanceTypeId:
          type: integer
          format: int32
        startDateTime:
          type: string
          format: date-time
      additionalProperties: false
    MaintenanceModeUpdateEndDateTimeDto:
      type: object
      properties:
        computerId:
          type: string
          format: uuid
          default: 00000000-0000-0000-0000-000000000000
        computerName:
          type:
          - string
          - 'null'
          default: ''
        isIsolated:
          type: boolean
          default: false
        isLockedOut:
          type: boolean
          default: false
        lastVersionChange:
          type:
          - string
          - 'null'
          format: date-time
        maintenanceEndDate:
          type:
          - string
          - 'null'
          format: date-time
        maintenanceTypeId:
          type: integer
          format: int32
        monitorOnlyDateTime:
          type: string
          format: date-time
        organizationId:
          type: string
          format: uuid
          default: 00000000-0000-0000-0000-000000000000
        osType:
          type: integer
          format: int32
        pendingBaseFiles:
          type: boolean
          default: false
        threatLockerVersion:
          type:
          - string
          - 'null'
          default: ''
        threatLockerVersionId:
          type:
          - string
          - 'null'
          format: uuid
          default: 00000000-0000-0000-0000-000000000000
        threatLockerVersionGroup:
          type:
          - string
          - 'null'
          default: ''
        threatLockerVersionGroupId:
          type:
          - string
          - 'null'
          format: uuid
          default: 00000000-0000-0000-0000-000000000000
      additionalProperties: false
    MaintenanceModeInsertDto:
      type: object
      properties:
        allUsers:
          type: boolean
          default: false
        automaticApplication:
          type: boolean
          default: false
        automaticApplicationType:
          type: integer
          format: int32
        computerId:
          type: string
          format: uuid
          default: 00000000-0000-0000-0000-000000000000
        createNewApplication:
          type: boolean
          default: false
        endDateTime:
          type: string
          format: date-time
        existingApplication:
          $ref: '#/components/schemas/MaintenanceExistingApplicationDto'
        maintenanceTypeId:
          type: integer
          format: int32
        newApplication:
          $ref: '#/components/schemas/MaintenanceApplicationDto'
        permitEnd:
          type: boolean
          default: false
        startDateTime:
          type: string
          format: date-time
        useExistingApplication:
          type: boolean
          default: false
        usersList:
          type:
          - array
          - 'null'
          items:
            type: string
        computerDateTime:
          type: string
          format: date-time
        maintenanceModeConditions:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/MaintenanceModeConditionsDto'
        ticketNumber:
          type:
          - string
          - 'null'
          default: ''
        notes:
          type:
          - string
          - 'null'
          default: ''
      additionalProperties: false
    MaintenanceModeConditionsDto:
      type: object
      properties:
        maintenanceModeConditionTypeId:
          type: integer
          format: int32
        value:
          type:
          - string
          - 'null'
      additionalProperties: false
    MaintenanceApplicationDto:
      type: object
      properties:
        applicationId:
          type: string
          format: uuid
          default: 00000000-0000-0000-0000-000000000000
        applicationName:
          type:
          - string
          - 'null'
          default: ''
        createApplicationOnly:
          type: boolean
          default: false
        appliesToId:
          type: string
          format: uuid
          default: 00000000-0000-0000-0000-000000000000
      additionalProperties: false
    MaintenanceExistingApplicationDto:
      type: object
      properties:
        applicationId:
          type: string
          format: uuid
          default: 00000000-0000-0000-0000-000000000000
        name:
          type:
          - string
          - 'null'
          default: ''
      additionalProperties: false
  securitySchemes:
    Authorization:
      type: apiKey
      description: Please insert Standard Authorization header.
      name: Authorization
      in: header
    ManagedOrganizationId:
      type: apiKey
      description: Please insert Managed Organization Id.
      name: ManagedOrganizationId
      in: header
    OverrideManagedOrganizationId:
      type: apiKey
      description: Please insert Managed Organization Id.
      name: OverrideManagedOrganizationId
      in: header