---
title: "Change a plan's display name or description"
method: PATCH
path: "/etl/v1/plans/{key}"
tags: ["ETL"]
---

# Change a plan's display name or description

`PATCH /etl/v1/plans/{key}`

## Request

- Base URL: `https://api.minubo.com`
- URL: `https://api.minubo.com/etl/v1/plans/{key}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Changes only the fields present in the body; null or an empty string clears a field. The key and the plan's data cannot be changed. Changes are not versioned.

## Path parameters

- `key` string, required

## Request body

- EtlPlanUpdateRequest: Changes the user-editable fields of a plan. Omitted fields stay as they are; null or an empty string clears a field.
  - `displayName` string: Display name, at most 255 characters.
  - `description` string: Description, at most 10000 characters.

## Response `200`

The changed plan

- EtlPlanResponse
  - `id` integer, required
  - `key` string, required: The plan name as it appears in the plan data (planName); identifies the plan in the URL.
  - `displayName` string
  - `description` string
  - `status` 'staged' | 'loaded' | 'failed' | 'deleting', required: staged: created by POST /etl/v1/plans, not yet loaded by an ETL run. loaded: in the ClickHouse table since the last completed ETL run. failed: staged, but still not loaded 36 hours after its creation (statusMessage says why); becomes loaded if it arrives later, delete it to reuse the name. deleting: deletion requested; the next ETL run deletes its files and then the plan.
  - `statusMessage` string
  - `source` 'sftp' | 'api', required: Where the plan comes from: sftp (generic plan files uploaded via SFTP) or api (this API).
  - `measures` string[], required
  - `attributes` string[], required
  - `startDate` string, date: First day with planned values (ISO date).
  - `endDate` string, date: Last day with planned values (ISO date).

## Other responses

- `400`: Invalid body: unknown fields, values that are not strings, too long values
- `404`: No such plan (plan_not_found)
- `500`: Unexpected internal error

## Changes

- **2026-11-24** `ff6f75bd8816`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/minubo/apis/minubo-api/changes/etl/v1/plans/:key/patch.md)

---

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