---
title: "Rename a place, or change what is there"
method: PATCH
path: "/equipment/places/{id}"
tags: ["Places"]
---

# Rename a place, or change what is there

`PATCH /equipment/places/{id}`

## Request

- Base URL: `https://bodylab.lol/api/v1`
- URL: `https://bodylab.lol/api/v1/equipment/places/{id}`
- Auth: HTTP bearer

Either field, or both; omitting one leaves it alone. `items` replaces the whole set, so what is sent is what is there — an empty object is somewhere with nothing in it. The one-off in force today can have its set changed but not its name: it has none, and is identified in the list response rather than by one.

## Path parameters

- `id` string, required: Opaque identifier.

## Headers

- `X-Client-Platform` string
- `X-Client-Version` string

## Request body

- object
  - `name` string
  - `items` object

## Response `204`

No content.

## Other responses

- `401`: Error: UNAUTHORIZED.
- `404`: Error: NOT_FOUND.
- `409`: Error: NAME_TAKEN.

---

[API](https://skmtc.dev/bodylab/apis/body-lab-api.md) · [All operations](https://skmtc.dev/bodylab/apis/body-lab-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bodylab/apis/body-lab-api/revisions/544c201eaf88?raw)
