---
title: "Update existing device"
description: "Update an existing device by **`ID`** and return its persistent data. Requires `inventory` permission."
canonical_url: "https://www.zeyos.com/api/update-device"
markdown_url: "https://www.zeyos.com/ai/guide/api/update-device.md"
section: "api-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/openapi/api.json"
source_sha256: "f5850c6fa6f99a1b518fc8ddc4e566070b53b5506cde57a3299948d38fc6363c"
---

# Update existing device

`PATCH /devices/{ID}`

- Summary: Update existing device
- OperationId: updateDevice
- Description: Update an existing device by **`ID`** and return its persistent data. Requires `inventory` permission.

Parameters:
- #/components/parameters/ID
- #/components/parameters/If-Match
- #/components/parameters/If-Unmodified-Since

Request body:
- #/components/requestBodies/devices

Responses:
- 200 — Successful Update (OK)
  - application/json — #/components/schemas/devices
- 401: #/components/responses/401
- 403: #/components/responses/403
- 404 — Not Found
- 409 — Non-matching ID (Conflict)
- 410 — Gone
- 412 — Non-matching ETag (Precondition Failed)
- 500: #/components/responses/500

Full tag reference: /ai/openapi/tag.devices.md
OpenAPI slice: /ai/openapi/tag.devices.openapi.json
