---
title: "PATCH /app/plans/{plan_id}/"
method: PATCH
path: "/app/plans/{plan_id}/"
tags: ["app"]
---

# PATCH /app/plans/{plan_id}/

`PATCH /app/plans/{plan_id}/`

ViewSet for viewing and editing Plans.

## Path parameters

- `plan_id` string, uuid, required

## Request body

- PatchedPlanUpdateRequest
  - `plan_name` string — Name of the plan
  - `status` 'active' | 'archived'
  - `tags` TagRequest[]
    - `tag_name` string, required
    - `tag_hex` string, nullable
    - `tag_color` string, nullable

## Response `200`

- PlanUpdate
  - `plan_name` string — Name of the plan
  - `status` 'active' | 'archived'
  - `tags` Tag[]
    - `tag_name` string, required
    - `tag_hex` string, nullable
    - `tag_color` string, nullable

## Changes

- **2023-01-16** `36b48cae00a3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/uselotus/apis/lotus-api/changes/app/plans/:plan_id/patch.md)

---

[API](https://skmtc.dev/uselotus/apis/lotus-api.md) · [All operations](https://skmtc.dev/uselotus/apis/lotus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/uselotus/lotus-api/revisions/36b48cae00a3/schema)
