---
title: "Patch a device. Patch allows partial updates by targeting specific properties of the device. Uses the JSON Patch syntax (http://jsonpatch.com)"
method: PATCH
path: "/devices/{id}"
tags: ["Devices"]
---

# Patch a device. Patch allows partial updates by targeting specific properties of the device. Uses the JSON Patch syntax (http://jsonpatch.com)

`PATCH /devices/{id}`

## Request

- Base URL: `https://api.reveldigital.com`
- URL: `https://api.reveldigital.com/devices/{id}`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://id.reveldigital.com/connect/authorize`
    - Token URL: `https://id.reveldigital.com/connect/token` scopes: `webapi`
  - API key in header `X-RevelDigital-ApiKey`
  - API key in query parameter `api_key`
- TypeScript: <https://skmtc.dev/reveldigital/apis/revel-digital-rest-api/docs/devices/:id/patch.ts> (a function with typed inputs; its response is checked against the schema)

The patch is applied to the device's current state, so properties that are not targeted
keep their existing values. This includes notes, location.venue_id and the DOOH screen
attributes, which a plain PUT would clear if omitted.

## Path parameters

- `id` string, required

## Request body

- Operation[]: Array of operations to perform
  - `op` string
  - `value` object
  - `path` string

## Response `200`

OK

---

[API](https://skmtc.dev/reveldigital/apis/revel-digital-rest-api.md) - [All operations](https://skmtc.dev/reveldigital/apis/revel-digital-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/reveldigital/apis/revel-digital-rest-api/revisions/39d5c8302822?raw)
