Given the ID for a device and a relationship ID associated with this device, create a new relationship for between the given device and a second device specified in the body.
Changed onCreate a device relationship
put/devices/{deviceId}/relationships/{relationshipId}
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthOAuth 2Implicithttps://login.microsoftonline.com/common/oauth2/authorizeScopesuser_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.
Request body
Response
Success
Changes
- breaking
api path removed without deprecation
- breaking
- info
endpoint added
- info