---
title: "Links an item to a channel."
method: PUT
path: "/links/{itemName}/{channelUID}"
tags: ["links"]
---

# Links an item to a channel.

`PUT /links/{itemName}/{channelUID}`

## Path parameters

- `itemName` string, required
- `channelUID` string, required

## Request body

- ItemChannelLinkDTO
  - `itemName` string
  - `channelUID` string
  - `configuration` object

## Response `200`

OK

## Other responses

- `400` — Content does not match the path
- `405` — Link is not editable

---

[API](https://skmtc.net/openhab/apis/openhab-rest-api.md) · [All operations](https://skmtc.net/openhab/apis/openhab-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openhab/openhab-rest-api/revisions/0f2ce17cab3e/schema)
