---
title: "Rename a person"
method: PATCH
path: "/api/people/{id}"
tags: ["People"]
---

# Rename a person

`PATCH /api/people/{id}`

## Request

- Base URL: `https://trvlrr.app`
- URL: `https://trvlrr.app/api/people/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required: The id.

## Request body

- object
  - `name` string, required: The person's name.

## Response `200`

Renamed.

- PersonRenamed
  - `id` string, required
  - `name` string, required

## Other responses

- `400`: The request is malformed or fails validation.
- `401`: No usable credential: a Clerk session token, a device token or an OAuth access token is required.
- `403`: The caller may not do this to this account or trip.
- `404`: No such thing, or not one the caller can see.

---

[API](https://skmtc.dev/trvlrr/apis/trvlrr-api.md) · [All operations](https://skmtc.dev/trvlrr/apis/trvlrr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/trvlrr/apis/trvlrr-api/revisions/ea024946b293?raw)
