---
title: "Update an area for a given area id."
method: PUT
path: "/areas/{id}"
tags: ["Areas"]
---

# Update an area for a given area id.

`PUT /areas/{id}`

Updates a area 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 area to update.

## Response `200`

OK

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

## 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)
