{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mist Admins Orgs Sitegroups API",
    "version": "2606.1.1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Orgs Sitegroups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "listOrgSiteGroups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/sitegroups",
            "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 site groups configured in the organization. A site group collects site IDs so sites can be managed or referenced as a group."
        },
        {
          "info": {
            "name": "createOrgSiteGroup",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/sitegroups",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a site group in the organization with a display name and optional site membership."
        },
        {
          "info": {
            "name": "getOrgSiteGroup",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/sitegroups/:sitegroup_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "sitegroup_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Return a site group, including its display name and the site IDs included in the group."
        },
        {
          "info": {
            "name": "updateOrgSiteGroup",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/sitegroups/:sitegroup_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "sitegroup_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the display name used to identify a site group in the organization."
        },
        {
          "info": {
            "name": "deleteOrgSiteGroup",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/sitegroups/:sitegroup_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "sitegroup_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Remove a site group from the organization."
        }
      ]
    }
  ],
  "bundled": true
}