---
title: "Rename, recolor or recategorize a custom status."
method: PATCH
path: "/project-statuses/{id}"
tags: ["projects"]
---

# Rename, recolor or recategorize a custom status.

`PATCH /project-statuses/{id}`

## Request

- Base URL: `https://restivity.ai/api/v1`
- URL: `https://restivity.ai/api/v1/project-statuses/{id}`
- Auth: OAuth 2 (authorization code, authorization URL `https://restivity.ai/oauth/authorize`, token URL `https://restivity.ai/api/oauth/token`, scopes: `projects:write`)

Patches one status. Pass at least one of `name`, `color`, `category`. Changing `category` moves every task already in the stage with it, in one step: they take the new base `status` (a stage made `completed` completes them, with `completed_at`), keep their stage, and each gets one history entry. The response is the updated status; list the tasks to see them. A status of a team or workspace palette is refused with 409 `inherited_palette` — it is not changed through a project. The caller must be a manager of the project: on a team project an accepted owner or admin of its team; on a project outside any team, the person it belongs to (403 `forbidden` otherwise). 404 when the project is not visible to the caller. MCP sibling: `projects_statuses_update`.

## Path parameters

- `id` string, uuid, required

## Request body

- UpdateProjectStatusInput
  - `name` string
  - `color` string
  - `category` 'todo' | 'in_progress' | 'completed': Which of the base lifecycle states this stage counts as: 'todo' | 'in_progress' | 'completed'. Drives filters, completion stats and the base `status` of every task moved into it.

## Response `200`

The updated status.

- ProjectStatus
  - `id` string, uuid, required
  - `workspace_id` string, uuid, nullable, required: Set when the status belongs to a workspace palette; otherwise null.
  - `team_id` string, uuid, nullable, required: Set when the status belongs to a team palette; otherwise null.
  - `project_id` string, uuid, nullable, required: Set when the status belongs to the project's own palette; null for a workspace or team status.
  - `name` string, required
  - `color` string, required
  - `position` integer, required: Pipeline order, ascending.
  - `category` 'todo' | 'in_progress' | 'completed', required
  - `created_at` string, required

## Other responses

- `400`: Invalid request shape.
- `401`: Missing or invalid access token.
- `403`: Token lacks the required scope.
- `404`: No such status visible to the caller.
- `409`: The status belongs to a team or workspace palette (`inherited_palette`). Transient, nothing written — send the same request again: `deadlock` (a category change moves the tasks in the status and met a task write holding one of them) or `status_palette_busy` (the status list changed meanwhile).
- `422`: Request body failed schema validation.
- `429`: Rate-limit exceeded for this tier.

---

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