---
title: "Update Unit (BETA)"
method: PATCH
path: "/units/{unitId}"
tags: ["Units"]
---

# Update Unit (BETA)

`PATCH /units/{unitId}`

This method allows the calling application to update a unit.

## Path parameters

- `unitId` string, Int64, required

## Headers

- `X-EES-AUTH-CLIENT-ID` string, string, required
- `X-EES-AUTH-HASH` string, string, required
- `Accept-Encoding` '' | 'gzip' | 'deflate' | 'gzip,deflate'
- `X-EES-TRANSACTION-ID` string, string
- `X-EES-RETRY` string, string

## Request body

- UnitPatchRequestEntity
  - `name` Name — unresolved $ref
  - `status` Status — unresolved $ref
  - `tags` Tags — unresolved $ref
  - `timezones` Timezones — unresolved $ref

## Response `200`

OK.

- UnitResponseEntity
  - `id` Id — unresolved $ref
  - `name` Name — unresolved $ref
  - `safeName` SafeName — unresolved $ref
  - `type` TypeResponse — unresolved $ref
  - `unitRelations` UnitRelations — unresolved $ref
  - `status` Status — unresolved $ref
  - `reference` Reference — unresolved $ref
  - `tags` Tags — unresolved $ref
  - `incomingIdentifier` IncomingIdentifier — unresolved $ref
  - `outgoingIdentifier` OutgoingIdentifier — unresolved $ref
  - `timezones` Timezones — unresolved $ref

## Other responses

- `400` — Bad Request.
- `401` — Unauthorized.
- `403` — Forbidden.
- `405` — Method Not Allowed.
- `429` — Too Many Requests
- `500` — Server Error
- `501` — Not Implemented
- `502` — Bad Gateway
- `503` — Service Unavailable
- `504` — Gateway Timeout

---

[API](https://skmtc.dev/eagleeye/apis/wallet-api.md) · [All operations](https://skmtc.dev/eagleeye/apis/wallet-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/eagleeye/wallet-api/revisions/90a122bb14cc/schema)
