Microsoft Intune - Wipe Device
This atomic belongs to the Microsoft Intune atomic group.
Wipes a device managed by Microsoft Intune. This atomic requires one of the following Graph API scopes: DeviceManagementManagedDevices.ReadWrite.All, DeviceManagementManagedDevices.PrivilegedOperations.All
Note: This function is not supported on all operating systems/platforms. See the Microsoft Intune documentation for more information.
Target: Microsoft Intune integration target or HTTP endpoint for "graph.microsoft.com" with a path of "/v1.0/"
Account Key: None if using an integration-provided target, access token if using an HTTP Endpoint target
Steps:
[] Build the authorization header
[] Build the request payload
[] Request the device be wiped
[] Check if the request was successful:
[]> If it wasn't, return an error
More information about this API: https://learn.microsoft.com/en-us/graph/api/intune-devices-manageddevice-wipe