---
title: "Rename a project group"
method: POST
path: "/v0/api/projects/{projectGroupId}/rename"
tags: ["Projects"]
---

# Rename a project group

`POST /v0/api/projects/{projectGroupId}/rename`

## Request

- Base URL: `https://api.anything.com`
- URL: `https://api.anything.com/v0/api/projects/{projectGroupId}/rename`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/anything/apis/anything-api/docs/v0/api/projects/:projectGroupId/rename/post.ts> (a function with typed inputs; its response is checked against the schema)

Renames a project group the authenticated user can access and returns the updated metadata.

## Path parameters

- `projectGroupId` string, uuid, required

## Request body

- object
  - `name` string, required

## Response `200`

Project group renamed

- object
  - `success` boolean, required
  - `projectGroupId` string, uuid, required
  - `name` string, required
  - `slug` string, nullable, required
  - `updatedAt` string, date-time, required

## Other responses

- `400`: Invalid request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found — the referenced resource does not exist (including malformed resource IDs)

---

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