---
title: "Changes to 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."
method: PUT
path: "/devices/{deviceId}/relationships/{relationshipId}"
---

# Changes to 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.

`PUT /devices/{deviceId}/relationships/{relationshipId}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 4 of 8 revisions.

- **2026-07-13** (1.0) `50c39d38d85a` — 1 breaking
- **2026-07-13** (1.0) `bcae1054dfc8` — 1 info
- **2026-07-13** (1.0) `91b0e78f975b` — 1 breaking
- **2026-07-13** (1.0) `6626576352d6` — 1 info

## Changes

- **2026-07-13** (1.0) `50c39d38d85a` — 1 breaking
  - api path removed without deprecation
- **2026-07-13** (1.0) `bcae1054dfc8` — 1 info
  - endpoint added
- **2026-07-13** (1.0) `91b0e78f975b` — 1 breaking
  - api path removed without deprecation
- **2026-07-13** (1.0) `6626576352d6` — 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/azure/apis/iotcentral-iotcentral/docs/devices/:deviceId/relationships/:relationshipId/put.md) · [API](https://skmtc.dev/azure/apis/iotcentral-iotcentral.md) · [Page](https://skmtc.dev/azure/apis/iotcentral-iotcentral/changes/devices/:deviceId/relationships/:relationshipId/put)
