{"files":{"SKILL.md":"---\nname: intuneresourcemanagementclient\ndescription: \"IntuneResourceManagementClient API skill. Use when working with IntuneResourceManagementClient for providers. Covers 33 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# IntuneResourceManagementClient\nAPI version: 2015-01-14-privatepreview\n\n## Auth\nNo authentication required.\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. No auth setup needed\n2. GET /providers/Microsoft.Intune/locations -- returns location for user tenant.\n3. POST /providers/Microsoft.Intune/locations/{hostName}/users/{userName}/devices/{deviceName}/wipe -- create first wipe\n\n## Endpoints\n33 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /providers/Microsoft.Intune/locations | Returns location for user tenant. |\n| GET | /providers/Microsoft.Intune/locations/hostName | Returns location for given tenant. |\n| GET | /providers/Microsoft.Intune/locations/{hostName}/apps | Returns Intune Manageable apps. |\n| GET | /providers/Microsoft.Intune/locations/{hostName}/iosPolicies | Returns Intune iOSPolicies. |\n| GET | /providers/Microsoft.Intune/locations/{hostName}/androidPolicies | Returns Intune Android policies. |\n| GET | /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName} | Returns Intune iOS policies. |\n| PUT | /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName} | Creates or updates iOSMAMPolicy. |\n| PATCH | /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName} | patch an iOSMAMPolicy. |\n| DELETE | /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName} | Delete Ios Policy |\n| GET | /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName} | Returns AndroidMAMPolicy with given name. |\n| PUT | /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName} | Creates or updates AndroidMAMPolicy. |\n| PATCH | /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName} | Patch AndroidMAMPolicy. |\n| DELETE | /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName} | Delete Android Policy |\n| GET | /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}/apps | Get apps for an iOSMAMPolicy. |\n| GET | /providers/Microsoft.Intune/locations/{hostName}/AndroidPolicies/{policyName}/apps | Get apps for an AndroidMAMPolicy. |\n| PUT | /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}/apps/{appName} | Add app to an iOSMAMPolicy. |\n| DELETE | /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}/apps/{appName} | Delete App for Ios Policy |\n| PUT | /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}/apps/{appName} | Add app to an AndroidMAMPolicy. |\n| DELETE | /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}/apps/{appName} | Delete App for Android Policy |\n| GET | /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}/groups | Returns groups for a given iOSMAMPolicy. |\n| GET | /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}/groups | Returns groups for a given AndroidMAMPolicy. |\n| PUT | /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}/groups/{groupId} | Add group to an iOSMAMPolicy. |\n| DELETE | /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}/groups/{groupId} | Delete Group for iOS Policy |\n| PUT | /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}/groups/{groupId} | Add group to an AndroidMAMPolicy. |\n| DELETE | /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}/groups/{groupId} | Delete Group for Android Policy |\n| GET | /providers/Microsoft.Intune/locations/{hostName}/users/{userName}/devices | Get devices for a user. |\n| GET | /providers/Microsoft.Intune/locations/{hostName}/users/{userName}/devices/{deviceName} | Get a unique device for a user. |\n| POST | /providers/Microsoft.Intune/locations/{hostName}/users/{userName}/devices/{deviceName}/wipe | Wipe a device for a user. |\n| GET | /providers/Microsoft.Intune/locations/{hostName}/operationResults | Returns operationResults. |\n| GET | /providers/Microsoft.Intune/locations/{hostName}/statuses/default | Returns Intune Tenant level statuses. |\n| GET | /providers/Microsoft.Intune/locations/{hostName}/flaggedUsers | Returns Intune flagged user collection |\n| GET | /providers/Microsoft.Intune/locations/{hostName}/flaggedUsers/{userName} | Returns Intune flagged user details |\n| GET | /providers/Microsoft.Intune/locations/{hostName}/flaggedUsers/{userName}/flaggedEnrolledApps | Returns Intune flagged enrolled app collection for the User |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all locations?\" -> GET /providers/Microsoft.Intune/locations\n- \"List all hostName?\" -> GET /providers/Microsoft.Intune/locations/hostName\n- \"List all apps?\" -> GET /providers/Microsoft.Intune/locations/{hostName}/apps\n- \"List all iosPolicies?\" -> GET /providers/Microsoft.Intune/locations/{hostName}/iosPolicies\n- \"List all androidPolicies?\" -> GET /providers/Microsoft.Intune/locations/{hostName}/androidPolicies\n- \"Get iosPolicy details?\" -> GET /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}\n- \"Update a iosPolicy?\" -> PUT /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}\n- \"Partially update a iosPolicy?\" -> PATCH /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}\n- \"Delete a iosPolicy?\" -> DELETE /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}\n- \"Get androidPolicy details?\" -> GET /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}\n- \"Update a androidPolicy?\" -> PUT /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}\n- \"Partially update a androidPolicy?\" -> PATCH /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}\n- \"Delete a androidPolicy?\" -> DELETE /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}\n- \"Update a app?\" -> PUT /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}/apps/{appName}\n- \"Delete a app?\" -> DELETE /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}/apps/{appName}\n- \"List all groups?\" -> GET /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}/groups\n- \"Update a group?\" -> PUT /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}/groups/{groupId}\n- \"Delete a group?\" -> DELETE /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}/groups/{groupId}\n- \"List all devices?\" -> GET /providers/Microsoft.Intune/locations/{hostName}/users/{userName}/devices\n- \"Get device details?\" -> GET /providers/Microsoft.Intune/locations/{hostName}/users/{userName}/devices/{deviceName}\n- \"Create a wipe?\" -> POST /providers/Microsoft.Intune/locations/{hostName}/users/{userName}/devices/{deviceName}/wipe\n- \"List all operationResults?\" -> GET /providers/Microsoft.Intune/locations/{hostName}/operationResults\n- \"List all default?\" -> GET /providers/Microsoft.Intune/locations/{hostName}/statuses/default\n- \"List all flaggedUsers?\" -> GET /providers/Microsoft.Intune/locations/{hostName}/flaggedUsers\n- \"Get flaggedUser details?\" -> GET /providers/Microsoft.Intune/locations/{hostName}/flaggedUsers/{userName}\n- \"List all flaggedEnrolledApps?\" -> GET /providers/Microsoft.Intune/locations/{hostName}/flaggedUsers/{userName}/flaggedEnrolledApps\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api IntuneResourceManagementClient\n@base https://management.azure.com\n@version 2015-01-14-privatepreview\n@common_fields {api-version: any # Service Api Version.}\n@endpoints 33\n@hint download_for_search\n@toc providers(33)\n\n@endpoint GET /providers/Microsoft.Intune/locations\n@desc Returns location for user tenant.\n@returns(200) location response as a collection\n\n@endpoint GET /providers/Microsoft.Intune/locations/hostName\n@desc Returns location for given tenant.\n@returns(200) single location response\n\n@endpoint GET /providers/Microsoft.Intune/locations/{hostName}/apps\n@desc Returns Intune Manageable apps.\n@required {hostName: any # Location hostName for the tenant}\n@optional {$filter: any # The filter to apply on the operation., $top: any, $select: any # select specific fields in entity.}\n@returns(200) applications as collection response\n\n@endpoint GET /providers/Microsoft.Intune/locations/{hostName}/iosPolicies\n@desc Returns Intune iOSPolicies.\n@required {hostName: any # Location hostName for the tenant}\n@optional {$filter: any # The filter to apply on the operation., $top: any, $select: any # select specific fields in entity.}\n@returns(200) applications as collection response\n\n@endpoint GET /providers/Microsoft.Intune/locations/{hostName}/androidPolicies\n@desc Returns Intune Android policies.\n@required {hostName: any # Location hostName for the tenant}\n@optional {$filter: any # The filter to apply on the operation., $top: any, $select: any # select specific fields in entity.}\n@returns(200) android Policies response\n\n@endpoint GET /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}\n@desc Returns Intune iOS policies.\n@required {hostName: any # Location hostName for the tenant, policyName: any # Unique name for the policy}\n@optional {$select: any # select specific fields in entity.}\n@returns(200) iOSMAMPolicy entity.\n\n@endpoint PUT /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}\n@desc Creates or updates iOSMAMPolicy.\n@required {hostName: any # Location hostName for the tenant, policyName: any # Unique name for the policy, parameters: any # Parameters supplied to the Create or update an android policy operation.}\n@returns(200) iOSMAMPolicy entity.\n\n@endpoint PATCH /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}\n@desc patch an iOSMAMPolicy.\n@required {hostName: any # Location hostName for the tenant, policyName: any # Unique name for the policy, parameters: any # Parameters supplied to the Create or update an android policy operation.}\n@returns(200) iOSMAMPolicy entity.\n\n@endpoint DELETE /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}\n@desc Delete Ios Policy\n@required {hostName: any # Location hostName for the tenant, policyName: any # Unique name for the policy}\n@returns(200) No-Content.\n@returns(204) No-Content.\n\n@endpoint GET /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}\n@desc Returns AndroidMAMPolicy with given name.\n@required {hostName: any # Location hostName for the tenant, policyName: any # Unique name for the policy}\n@optional {$select: any # select specific fields in entity.}\n@returns(200) iOSMAMPolicy entity.\n\n@endpoint PUT /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}\n@desc Creates or updates AndroidMAMPolicy.\n@required {hostName: any # Location hostName for the tenant, policyName: any # Unique name for the policy, parameters: any # Parameters supplied to the Create or update an android policy operation.}\n@returns(200) android entity.\n\n@endpoint PATCH /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}\n@desc Patch AndroidMAMPolicy.\n@required {hostName: any # Location hostName for the tenant, policyName: any # Unique name for the policy, parameters: any # Parameters supplied to the Create or update an android policy operation.}\n@returns(200) android entity.\n\n@endpoint DELETE /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}\n@desc Delete Android Policy\n@required {hostName: any # Location hostName for the tenant, policyName: any # Unique name for the policy}\n@returns(200) No-Content.\n@returns(204) No-Content.\n\n@endpoint GET /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}/apps\n@desc Get apps for an iOSMAMPolicy.\n@required {hostName: any # Location hostName for the tenant, policyName: any # Unique name for the policy}\n@optional {$filter: any # The filter to apply on the operation., $top: any, $select: any # select specific fields in entity.}\n@returns(200) applications as collection response\n\n@endpoint GET /providers/Microsoft.Intune/locations/{hostName}/AndroidPolicies/{policyName}/apps\n@desc Get apps for an AndroidMAMPolicy.\n@required {hostName: any # Location hostName for the tenant, policyName: any # Unique name for the policy}\n@optional {$filter: any # The filter to apply on the operation., $top: any, $select: any # select specific fields in entity.}\n@returns(200) applications as collection response\n\n@endpoint PUT /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}/apps/{appName}\n@desc Add app to an iOSMAMPolicy.\n@required {hostName: any # Location hostName for the tenant, policyName: any # Unique name for the policy, appName: any # application unique Name, parameters: any # Parameters supplied to add an app to an ios policy.}\n@returns(200) No-Content.\n@returns(204) No-Content.\n\n@endpoint DELETE /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}/apps/{appName}\n@desc Delete App for Ios Policy\n@required {hostName: any # Location hostName for the tenant, policyName: any # Unique name for the policy, appName: any # application unique Name}\n@returns(200) No-Content.\n@returns(204) No-Content.\n\n@endpoint PUT /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}/apps/{appName}\n@desc Add app to an AndroidMAMPolicy.\n@required {hostName: any # Location hostName for the tenant, policyName: any # Unique name for the policy, appName: any # application unique Name, parameters: any # Parameters supplied to the Create or update app to an android policy operation.}\n@returns(200) No-Content.\n@returns(204) No-Content.\n\n@endpoint DELETE /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}/apps/{appName}\n@desc Delete App for Android Policy\n@required {hostName: any # Location hostName for the tenant, policyName: any # Unique name for the policy, appName: any # application unique Name}\n@returns(200) No-Content.\n@returns(204) No-Content.\n\n@endpoint GET /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}/groups\n@desc Returns groups for a given iOSMAMPolicy.\n@required {hostName: any # Location hostName for the tenant, policyName: any # policy name for the tenant}\n@returns(200) groups as collection response\n\n@endpoint GET /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}/groups\n@desc Returns groups for a given AndroidMAMPolicy.\n@required {hostName: any # Location hostName for the tenant, policyName: any # policy name for the tenant}\n@returns(200) groups as collection response\n\n@endpoint PUT /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}/groups/{groupId}\n@desc Add group to an iOSMAMPolicy.\n@required {hostName: any # Location hostName for the tenant, policyName: any # Unique name for the policy, groupId: any # group Id, parameters: any # Parameters supplied to the Create or update app to an android policy operation.}\n@returns(200) No-Content.\n@returns(204) No-Content.\n\n@endpoint DELETE /providers/Microsoft.Intune/locations/{hostName}/iosPolicies/{policyName}/groups/{groupId}\n@desc Delete Group for iOS Policy\n@required {hostName: any # Location hostName for the tenant, policyName: any # Unique name for the policy, groupId: any # application unique Name}\n@returns(200) No-Content.\n@returns(204) No-Content.\n\n@endpoint PUT /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}/groups/{groupId}\n@desc Add group to an AndroidMAMPolicy.\n@required {hostName: any # Location hostName for the tenant, policyName: any # Unique name for the policy, groupId: any # group Id, parameters: any # Parameters supplied to the Create or update app to an android policy operation.}\n@returns(200) No-Content.\n@returns(204) No-Content.\n\n@endpoint DELETE /providers/Microsoft.Intune/locations/{hostName}/androidPolicies/{policyName}/groups/{groupId}\n@desc Delete Group for Android Policy\n@required {hostName: any # Location hostName for the tenant, policyName: any # Unique name for the policy, groupId: any # application unique Name}\n@returns(200) No-Content.\n@returns(204) No-Content.\n\n@endpoint GET /providers/Microsoft.Intune/locations/{hostName}/users/{userName}/devices\n@desc Get devices for a user.\n@required {hostName: any # Location hostName for the tenant, userName: any # user unique Name}\n@optional {$filter: any # The filter to apply on the operation., $top: any, $select: any # select specific fields in entity.}\n@returns(200) devices as collection response\n\n@endpoint GET /providers/Microsoft.Intune/locations/{hostName}/users/{userName}/devices/{deviceName}\n@desc Get a unique device for a user.\n@required {hostName: any # Location hostName for the tenant, userName: any # unique user name, deviceName: any # device name}\n@optional {$select: any # select specific fields in entity.}\n@returns(200) Device entity.\n\n@endpoint POST /providers/Microsoft.Intune/locations/{hostName}/users/{userName}/devices/{deviceName}/wipe\n@desc Wipe a device for a user.\n@required {hostName: any # Location hostName for the tenant, userName: any # unique user name, deviceName: any # device name}\n@returns(200) Wipe operation result.\n\n@endpoint GET /providers/Microsoft.Intune/locations/{hostName}/operationResults\n@desc Returns operationResults.\n@required {hostName: any # Location hostName for the tenant}\n@optional {$filter: any # The filter to apply on the operation., $top: any, $select: any # select specific fields in entity.}\n@returns(200) applications as collection response\n\n@endpoint GET /providers/Microsoft.Intune/locations/{hostName}/statuses/default\n@desc Returns Intune Tenant level statuses.\n@required {hostName: any # Location hostName for the tenant}\n@returns(200) applications as collection response\n\n@endpoint GET /providers/Microsoft.Intune/locations/{hostName}/flaggedUsers\n@desc Returns Intune flagged user collection\n@required {hostName: any # Location hostName for the tenant}\n@optional {$filter: any # The filter to apply on the operation., $top: any, $select: any # select specific fields in entity.}\n@returns(200) Flagged users as collection response\n\n@endpoint GET /providers/Microsoft.Intune/locations/{hostName}/flaggedUsers/{userName}\n@desc Returns Intune flagged user details\n@required {hostName: any # Location hostName for the tenant, userName: any # Flagged userName}\n@optional {$select: any # select specific fields in entity.}\n@returns(200) Flagged user details in response\n\n@endpoint GET /providers/Microsoft.Intune/locations/{hostName}/flaggedUsers/{userName}/flaggedEnrolledApps\n@desc Returns Intune flagged enrolled app collection for the User\n@required {hostName: any # Location hostName for the tenant, userName: any # User name for the tenant}\n@optional {$filter: any # The filter to apply on the operation., $top: any, $select: any # select specific fields in entity.}\n@returns(200) Flagged enrolled Apps as collection response\n\n@end\n"}}