---
title: "Rename a project"
method: PATCH
path: "/api/projects/{id}"
tags: ["project-controller"]
---

# Rename a project

`PATCH /api/projects/{id}`

## Request

- Base URL: `https://api.pagegoat.com`
- URL: `https://api.pagegoat.com/api/projects/{id}`
- Auth: HTTP bearer

Owner only.

## Path parameters

- `id` string, uuid, required

## Request body

- ProjectNameRequest: A project's name.
  - `name` string, nullable: Blank or omitted falls back to a generated default on create.

## Response `200`

OK

---

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