The Erase Device API action has been updated to support Apple’s new Return to Service feature on iOS and iPadOS. To use Return to Service when sending the Erase Device action, the
ReturnToService key object should be added to the JSON request body. Using this new key, admins can define whether RTS is enabled and define an optional Wi-Fi payload,
ProfileId, to allow the device to connect to a Wi-Fi network automatically after being erased.
As an example of a request body containing the new RTS feature:
See the Kandji API documentation for more information.