---
title: "Update a controller relay connection"
method: PATCH
path: "/controller_relay_connections/{id}"
tags: ["Controller Relay Connections"]
---

# Update a controller relay connection

`PATCH /controller_relay_connections/{id}`

## Path parameters

- `id` integer, required

## Request body

- union
  - object
    - `controller_relay_connection` object, required
      - `duration` number, float — The duration of the relay
      - `name` string, nullable — The name of the controller relay connection
  - object
    - `controller_relay_connection` object, required
      - `duration` number, float — The duration of the relay
      - `name` string, nullable — The name of the controller relay connection
  - object
    - `controller_relay_connection` object, required
      - `duration_for_away_mode` number, float, nullable — The duration of the relay used for changing the zone to away mode
      - `duration_for_stay_mode` number, float, nullable — The duration of the relay used for changing the zone to stay mode
      - `name` string, nullable — The name of the controller relay connection

## Response `204`

No Content

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Content

---

[API](https://skmtc.dev/kisi/apis/kisi-api.md) · [All operations](https://skmtc.dev/kisi/apis/kisi-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kisi/kisi-api/revisions/998700ffff5a/schema)
