{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mist Admins Orgs Device Profiles API",
    "version": "2606.1.1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Orgs Device Profiles",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "listOrgDeviceProfiles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/deviceprofiles",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "Filter results by one device profile type. Use a single value; comma-separated values are not supported. enum: `ap`, `gateway`, `switch`"
              },
              {
                "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 org-level device profiles, which define reusable AP, switch, or gateway configuration subsets that can be applied to matching devices."
        },
        {
          "info": {
            "name": "createOrgDeviceProfile",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/deviceprofiles",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create an org-level device profile containing reusable AP, switch, or gateway configuration."
        },
        {
          "info": {
            "name": "getOrgDeviceProfile",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/deviceprofiles/:deviceprofile_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "deviceprofile_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve the AP, switch, or gateway configuration stored in a specific org-level device profile."
        },
        {
          "info": {
            "name": "updateOrgDeviceProfile",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/deviceprofiles/:deviceprofile_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "deviceprofile_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the AP, switch, or gateway configuration stored in an org-level device profile."
        },
        {
          "info": {
            "name": "deleteOrgDeviceProfile",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/deviceprofiles/:deviceprofile_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "deviceprofile_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete an org-level device profile and remove that reusable device configuration object from the organization."
        },
        {
          "info": {
            "name": "assignOrgDeviceProfile",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/deviceprofiles/:deviceprofile_id/assign",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "deviceprofile_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Assign Org Device Profile to Devices"
        },
        {
          "info": {
            "name": "unassignOrgDeviceProfile",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/deviceprofiles/:deviceprofile_id/unassign",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "deviceprofile_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Unassign Org Device Profile from Devices"
        }
      ]
    }
  ],
  "bundled": true
}