---
title: "change valve leak detector associations by device ID"
method: PUT
path: "/v4/valve/{deviceId}/leakAssociation"
tags: ["ShutoffValve"]
---

# change valve leak detector associations by device ID

`PUT /v4/valve/{deviceId}/leakAssociation`

## Request

- Base URL: `https://api.honeywellhome.com`
- URL: `https://api.honeywellhome.com/v4/valve/{deviceId}/leakAssociation`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://login.resideo.com/oauth/token` scopes: `openid profile email`
  - API key in header `Authorization`

## Path parameters

- `deviceId` string, required

## Request body

- WldAssociationRequest
  - `Wlds` WldAssociationEntry[], required
    - `WldId` string, required
    - `Enabled` boolean

## Response `200`

OK

## Changes

- **2026-10-15** `9bca9a863157`: 1 info
  - endpoint added
- **2026-10-01** `aedb13184e85`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/honeywellhome/apis/resideo-apigee-v4-api/changes/v4/valve/:deviceId/leakAssociation/put.md)

---

[API](https://skmtc.dev/honeywellhome/apis/resideo-apigee-v4-api.md) - [All operations](https://skmtc.dev/honeywellhome/apis/resideo-apigee-v4-api/llms.txt) - [OpenAPI document](https://skmtc.dev/honeywellhome/apis/resideo-apigee-v4-api/revisions/9bca9a863157?raw)
