{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Endpoint Configuration Management Microsoft Intune Graph API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
      "accessTokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Devices",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management List managed devices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/managedDevices",
            "params": [
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Number of items to return."
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Number of items to skip."
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "OData filter expression."
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to include in the response."
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order results by a property."
              },
              {
                "name": "$count",
                "value": "",
                "type": "query",
                "description": "Include count of items."
              }
            ]
          },
          "docs": "List properties and relationships of the managedDevice objects enrolled in Intune."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Create managed device",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/managedDevices",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new managedDevice object."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Get managed device",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/:managedDeviceId",
            "params": [
              {
                "name": "managedDeviceId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the managed device."
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to include in the response."
              }
            ]
          },
          "docs": "Read properties and relationships of a managedDevice object."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Update managed device",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/:managedDeviceId",
            "params": [
              {
                "name": "managedDeviceId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the properties of a managedDevice object."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Delete managed device",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/:managedDeviceId",
            "params": [
              {
                "name": "managedDeviceId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes a managedDevice."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management List user owned devices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/users/:userId/ownedDevices",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Number of items to return."
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to include in the response."
              }
            ]
          },
          "docs": "Get the list of devices registered to a user from Azure Active Directory."
        }
      ]
    },
    {
      "info": {
        "name": "Device Actions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Retire a device",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/:managedDeviceId/retire",
            "params": [
              {
                "name": "managedDeviceId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retire a device, removing corporate data while leaving personal data intact."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Wipe a device",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/:managedDeviceId/wipe",
            "params": [
              {
                "name": "managedDeviceId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Factory reset a device, removing all data."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Sync device",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/:managedDeviceId/syncDevice",
            "params": [
              {
                "name": "managedDeviceId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Trigger a sync for the managed device with Intune."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Remote lock a device",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/:managedDeviceId/remoteLock",
            "params": [
              {
                "name": "managedDeviceId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Remotely lock a managed device."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Reset passcode",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/:managedDeviceId/resetPasscode",
            "params": [
              {
                "name": "managedDeviceId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Reset the passcode on a managed device."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Reboot device",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/:managedDeviceId/rebootNow",
            "params": [
              {
                "name": "managedDeviceId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Remotely reboot a managed device."
        }
      ]
    },
    {
      "info": {
        "name": "Compliance Policies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management List device compliance policies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/deviceCompliancePolicies",
            "params": [
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Number of items to return."
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Number of items to skip."
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "OData filter expression."
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to include in the response."
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order results by a property."
              }
            ]
          },
          "docs": "List properties and relationships of the deviceCompliancePolicy objects."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Create device compliance policy",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/deviceCompliancePolicies",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new deviceCompliancePolicy object."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Get device compliance policy",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/deviceCompliancePolicies/:deviceCompliancePolicyId",
            "params": [
              {
                "name": "deviceCompliancePolicyId",
                "value": "",
                "type": "path"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to include in the response."
              }
            ]
          },
          "docs": "Read properties and relationships of a deviceCompliancePolicy object."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Update device compliance policy",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/deviceCompliancePolicies/:deviceCompliancePolicyId",
            "params": [
              {
                "name": "deviceCompliancePolicyId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the properties of a deviceCompliancePolicy object."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Delete device compliance policy",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/deviceCompliancePolicies/:deviceCompliancePolicyId",
            "params": [
              {
                "name": "deviceCompliancePolicyId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes a deviceCompliancePolicy."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Assign compliance policy",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/deviceCompliancePolicies/:deviceCompliancePolicyId/assign",
            "params": [
              {
                "name": "deviceCompliancePolicyId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Assign a device compliance policy to groups."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Get compliance state summary",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/deviceCompliancePolicyDeviceStateSummary"
          },
          "docs": "Read properties of the deviceCompliancePolicyDeviceStateSummary object providing a summary of device compliance states across the tenant."
        }
      ]
    },
    {
      "info": {
        "name": "Applications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management List mobile apps",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/deviceAppManagement/mobileApps",
            "params": [
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Number of items to return."
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Number of items to skip."
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "OData filter expression."
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to include in the response."
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order results by a property."
              }
            ]
          },
          "docs": "List properties and relationships of the mobileApp objects."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Create mobile app",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/deviceAppManagement/mobileApps",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new mobileApp object."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Get mobile app",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/deviceAppManagement/mobileApps/:mobileAppId",
            "params": [
              {
                "name": "mobileAppId",
                "value": "",
                "type": "path"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to include in the response."
              }
            ]
          },
          "docs": "Read properties and relationships of a mobileApp object."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Update mobile app",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://graph.microsoft.com/v1.0/deviceAppManagement/mobileApps/:mobileAppId",
            "params": [
              {
                "name": "mobileAppId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the properties of a mobileApp object."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Delete mobile app",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://graph.microsoft.com/v1.0/deviceAppManagement/mobileApps/:mobileAppId",
            "params": [
              {
                "name": "mobileAppId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes a mobileApp."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Assign mobile app",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/deviceAppManagement/mobileApps/:mobileAppId/assign",
            "params": [
              {
                "name": "mobileAppId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Assign a mobile app to groups."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management List app device statuses",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/deviceAppManagement/mobileApps/:mobileAppId/deviceStatuses",
            "params": [
              {
                "name": "mobileAppId",
                "value": "",
                "type": "path"
              },
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Number of items to return."
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to include in the response."
              }
            ]
          },
          "docs": "Get the installation status of a mobile app across devices."
        }
      ]
    },
    {
      "info": {
        "name": "Configuration Profiles",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management List device configurations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/deviceConfigurations",
            "params": [
              {
                "name": "$top",
                "value": "",
                "type": "query",
                "description": "Number of items to return."
              },
              {
                "name": "$skip",
                "value": "",
                "type": "query",
                "description": "Number of items to skip."
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query",
                "description": "OData filter expression."
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to include in the response."
              },
              {
                "name": "$orderby",
                "value": "",
                "type": "query",
                "description": "Order results by a property."
              }
            ]
          },
          "docs": "List properties and relationships of the deviceConfiguration objects."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Create device configuration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/deviceConfigurations",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new deviceConfiguration object."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Get device configuration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/deviceConfigurations/:deviceConfigurationId",
            "params": [
              {
                "name": "deviceConfigurationId",
                "value": "",
                "type": "path"
              },
              {
                "name": "$select",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of properties to include in the response."
              }
            ]
          },
          "docs": "Read properties and relationships of a deviceConfiguration object."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Update device configuration",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/deviceConfigurations/:deviceConfigurationId",
            "params": [
              {
                "name": "deviceConfigurationId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the properties of a deviceConfiguration object."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Delete device configuration",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/deviceConfigurations/:deviceConfigurationId",
            "params": [
              {
                "name": "deviceConfigurationId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes a deviceConfiguration."
        },
        {
          "info": {
            "name": "Microsoft Endpoint Configuration Management Assign device configuration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/deviceManagement/deviceConfigurations/:deviceConfigurationId/assign",
            "params": [
              {
                "name": "deviceConfigurationId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Assign a device configuration profile to groups."
        }
      ]
    }
  ],
  "bundled": true
}