Given the ID for a device and an associated relationship ID, delete the relationship. The given device ID can be that of the upstream or downstream device.

Changed on

Delete a device relationship

delete/devices/{deviceId}/relationships/{relationshipId}

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    OAuth 2
    Implicithttps://login.microsoftonline.com/common/oauth2/authorize
    Scopesuser_impersonation

Path parameters

deviceIdstring required

Unique ID of the device.

relationshipIdstring required

Unique ID of a relationship between devices.

Query parameters

api-versionstring required

The version of the API being called.

Response

Success

Changes