{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mist Admins Orgs Cert API",
    "version": "2606.1.1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Orgs Cert",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "listOrgCertificates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/cert",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the current organization CA certificate and, when available, the pending auto-renewed certificate scheduled to replace it."
        },
        {
          "info": {
            "name": "rotateOrgCertificate",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/cert/apply_pending",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Replace the current organization CA certificate with the pending certificate generated previously."
        },
        {
          "info": {
            "name": "clearOrgCertificates",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/cert/regenerate",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Clear existing organization certificates and trigger certificate regeneration for the organization."
        },
        {
          "info": {
            "name": "truncateOrgCrlFile",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/crl/truncate",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "By default, all certs used by recently unclaimed devices within 9 month will be included in CRL. If the list grows too big, you can truncate it"
        },
        {
          "info": {
            "name": "getOrgSslProxyCert",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/ssl_proxy_cert",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return the PEM-encoded SSL proxy certificate for the organization, used by SSL proxy inspection."
        }
      ]
    }
  ],
  "bundled": true
}