---
title: "Update a controller wiegand connection"
method: PATCH
path: "/controller_wiegand_connections/{id}"
tags: ["Controller Wiegand Connections"]
---

# Update a controller wiegand connection

`PATCH /controller_wiegand_connections/{id}`

## Path parameters

- `id` integer, required

## Request body

- object
  - `controller_wiegand_connection` object, required
    - `name` string, nullable — The name of the controller wiegand connection
    - `virtual_card_format_name` 'null' | 'hid_h10301' | 'hid_h10302' | 'hid_h10304' | 'em_410x_26' | 'em_410x_32_34' | 'keyscan_c15001' | 'hid_d10202', nullable — The format of the virtual card.
    - `virtual_card_card_number` integer, nullable — The card number of the virtual card.
    - `virtual_card_facility_code` integer, nullable — The facility code of the virtual card.
    - `virtual_card_card_id` integer, nullable — The card id of the virtual card. Only applies to `EM_410X_32_34` cards.
    - `virtual_card_oem` integer, nullable — The oem of the virtual card. Only applies to `KEYSCAN_C15001` cards.
    - `virtual_card_uid` string, nullable — The uid of the virtual card.
    - `virtual_card_length` integer, nullable — The bit length of the virtual card's uid.

## Response `204`

No Content

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `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)
