---
title: "Update a controller input connection"
method: PATCH
path: "/controller_input_connections/{id}"
tags: ["Controller Input Connections"]
---

# Update a controller input connection

`PATCH /controller_input_connections/{id}`

## Path parameters

- `id` integer, required

## Request body

- union
  - object
    - `controller_input_connection` object, required
      - `enabled` boolean — Whether the input is enabled
      - `duration` number, float — The duration of the input
      - `end_of_line_type` 'cut_detect' | 'short_detect' | 'cut_and_short_detect' | 'null', nullable — The end of line type of the input
      - `end_of_line_main_resistor` integer, nullable
      - `end_of_line_second_resistor` integer, nullable
      - `name` string, nullable — The name of the controller input connection
  - object
    - `controller_input_connection` object, required
      - `enabled` boolean — Whether the input is enabled
      - `duration` number, float — The duration of the input
      - `end_of_line_type` 'cut_detect' | 'short_detect' | 'cut_and_short_detect' | 'null', nullable — The end of line type of the input
      - `end_of_line_main_resistor` integer, nullable
      - `end_of_line_second_resistor` integer, nullable
      - `name` string, nullable — The name of the controller input connection
      - `action` 'last_to_leave' | 'last_to_unlock' | 'unlock' | 'none' — The action of the input
  - object
    - `controller_input_connection` object, required
      - `action` 'away' | 'stay' | 'disarmed' | 'violated' — The action of the input
  - object
    - `controller_input_connection` object, required
      - `enabled` boolean — Whether the input is enabled
      - `end_of_line_type` 'cut_detect' | 'short_detect' | 'cut_and_short_detect' | 'null', nullable — The end of line type of the input
      - `end_of_line_main_resistor` integer, nullable
      - `end_of_line_second_resistor` integer, nullable
      - `name` string, nullable — The name of the controller input 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)
