fabric_connector_patch
Send a partial update (PATCH) request to the UniFi Fabric API with a specified path and body. Requires explicit confirmation and write access to execute, enabling safe modification of resources.
Instructions
Relay a PATCH (partial update) through the Fabric connector. MUTATION — GATED.
Refused unless BOTH confirm=true AND UNIFI_ENABLE_CONNECTOR_WRITE are set. PATCH has a
GET twin, so read-before/write/read-after with noOp detection applies (see
fabric_connector_put). The candidate legacy InnerSpace save route
(innerspace/api/shapes/{id}) is a PATCH; probe it with a nonexistent shape ID and an
empty/invalid body first — a 4xx is reachability evidence, and a 200/204 on such a probe
is a stop condition, not a success. EXPERIMENTAL until persistence/rollback are proven.
See fabric_connector_get for host/path/site/scope semantics. body: the JSON request body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| host | Yes | ||
| path | Yes | ||
| site | No | ||
| scope | No | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||