Delete the individualEnrollment information.
This method will remove the individualEnrollment from the Device Provisioning Service using the
provided
IndividualEnrollment information. The Device Provisioning Service will care about the
registrationId and the eTag on the individualEnrollment. If you want to delete the individualEnrollment regardless the
eTag, you can set the
eTag="*" into the individualEnrollment, or use the
#deleteIndividualEnrollment(String)passing only the registrationId.
Note that delete the individualEnrollment will not remove the Device itself from the IotHub.
If the registrationId does not exists or the eTag not matches, this method will throw
ProvisioningServiceClientNotFoundException.
for more exceptions that this method can throw, please see
ProvisioningServiceClientExceptionManager
Sample:
The follow code will delete the information about the individualEnrollment "registrationId-1".
// IndividualEnrollment information.}