{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mist Admins Orgs Linked Applications API",
    "version": "2606.1.1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Orgs Linked Applications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "getOrgOauthAppAuthorizationUrl",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/setting/:app_name/link_accounts",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "app_name",
                "value": "",
                "type": "path",
                "description": "OAuth application name"
              },
              {
                "name": "forward",
                "value": "",
                "type": "query",
                "description": "Mist portal url to which backend needs to redirect after successful OAuth authorization. **Required** to get the `authorization_url`"
              }
            ]
          },
          "docs": "Return linked-account status for the specified organization OAuth application and the authorization URL used to start account linking."
        },
        {
          "info": {
            "name": "addOrgOauthAppAccounts",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/setting/:app_name/link_accounts",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "app_name",
                "value": "",
                "type": "path",
                "description": "OAuth application name"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add a linked account for the specified OAuth application using the app-specific account configuration payload."
        },
        {
          "info": {
            "name": "updateOrgOauthAppAccount",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/setting/:app_name/link_accounts/:account_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "app_name",
                "value": "",
                "type": "path",
                "description": "OAuth application name"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update app-specific settings for a linked OAuth application account, such as Zoom or Teams guest redaction settings or a Zoom daily API request quota."
        },
        {
          "info": {
            "name": "deleteOrgOauthAppAuthorization",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/setting/:app_name/link_accounts/:account_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "app_name",
                "value": "",
                "type": "path",
                "description": "OAuth application name"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Remove a linked account authorization for the specified OAuth application and account ID."
        }
      ]
    }
  ],
  "bundled": true
}