Individual Enrollment - Delete

Delete a device enrollment record.

DELETE https://your-dps.azure-devices-provisioning.net/enrollments/{id}?api-version=2021-10-01

URI Parameters

Name In Required Type Description
id
path True

string

This id is used to uniquely identify a device registration of an enrollment. A case-insensitive string (up to 128 characters long) of alphanumeric characters plus certain special characters : . _ -. No special characters allowed at start or end.

api-version
query True

string

The API version to use for the request. Supported versions include: 2021-10-01

Request Header

Name Required Type Description
If-Match

string

The ETag of the enrollment record.

Responses

Name Type Description
204 No Content

No Content

Other Status Codes

ProvisioningServiceErrorDetails

Error response

Headers

x-ms-error-code: string

Definitions

ProvisioningServiceErrorDetails

Contains the properties of an error returned by the Azure IoT Hub Provisioning Service.

Name Type Description
errorCode

integer

info

object

message

string

timestampUtc

string

trackingId

string