Device Registration State - Delete

Deletes the device registration

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

URI Parameters

Name In Required Type Description
id
path True

string

Registration ID.

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 registration status 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