---
title: "Update an office for a given office id."
method: PUT
path: "/offices/{id}"
tags: ["Offices"]
---

# Update an office for a given office id.

`PUT /offices/{id}`

Updates an office referenced by *id*. Only the attributes submitted are modified.

## Path parameters

- `id` string, required

## Headers

- `Authorization` string, required

## Request body

- object
  - `name` string — The new name of the office to update.

## Response `200`

OK

- object
  - `_id` string — The Kenjo _id of the office.
  - `name` string — The new name of the office to update.

## Other responses

- `400` — BAD REQUEST. This is a wrong request in the client side due to invalid body or params.
- `401` — UNAUTHORIZED. The Authorization header is incorrect, not provided or the token expired.

---

[API](https://skmtc.net/kenjo/apis/kenjo-api.md) · [All operations](https://skmtc.net/kenjo/apis/kenjo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kenjo/kenjo-api/revisions/58772b78268e/schema)
