{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mist Admins Orgs Alarm Templates API",
    "version": "2606.1.1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Orgs Alarm Templates",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "listOrgAlarmTemplates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/alarmtemplates",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return per page"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Select the page number to return when using page-based pagination; starts at `1`"
              }
            ]
          },
          "docs": "List alarm templates defined for the organization, including default delivery settings and per-alarm rule configuration."
        },
        {
          "info": {
            "name": "createOrgAlarmTemplate",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/alarmtemplates",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an organization alarm template that defines default delivery settings and per-alarm rule overrides.\nAvailable rules can be found in [List Alarm Definitions](/#operations/listAlarmDefinitions)\n\nThe `delivery` object is only required when it differs from the template delivery settings.\nTo assign an Alarm template to a site, use the [Update Site](/#operations/updateSiteInfo) endpoint and specify the Alarm template ID in the `alarmtemplate_id` field of the request body."
        },
        {
          "info": {
            "name": "listOrgSuppressedAlarms",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/alarmtemplates/suppress",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "scope",
                "value": "",
                "type": "query",
                "description": "Filter results by scope. enum: `org`, `site`"
              }
            ]
          },
          "docs": "List alarm suppression entries currently configured for this organization, optionally filtered by organization-wide or site-specific scope."
        },
        {
          "info": {
            "name": "suppressOrgAlarm",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/alarmtemplates/suppress",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create or schedule an alarm suppression window for the organization or selected sites, for example during planned maintenance."
        },
        {
          "info": {
            "name": "unsuppressOrgSuppressedAlarms",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/alarmtemplates/suppress",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Remove alarm suppression entries currently configured for this organization."
        },
        {
          "info": {
            "name": "getOrgAlarmTemplate",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/alarmtemplates/:alarmtemplate_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "alarmtemplate_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return one organization alarm template, including default delivery settings and per-alarm rule overrides."
        },
        {
          "info": {
            "name": "updateOrgAlarmTemplate",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/alarmtemplates/:alarmtemplate_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "alarmtemplate_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an organization alarm template's default delivery settings or per-alarm rule overrides."
        },
        {
          "info": {
            "name": "deleteOrgAlarmTemplate",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/alarmtemplates/:alarmtemplate_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "alarmtemplate_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete an organization alarm template by template ID from this organization."
        }
      ]
    }
  ],
  "bundled": true
}