---
title: "Update Draft Config"
method: PATCH
path: "/components/{component_id}/configs/{version}"
tags: ["Components"]
---

# Update Draft Config

`PATCH /components/{component_id}/configs/{version}`

Update an existing draft config. Cannot update published configs.

## Path parameters

- `component_id` string, required — Component ID
- `version` integer, required — Version number

## Request body

- ConfigUpdate
  - `config` object, nullable
  - `label` string, nullable
  - `stage` string, nullable
  - `notes` string, nullable
  - `links` object[], nullable

## Response `200`

Successful Response

- ComponentConfigResponse
  - `component_id` string, required
  - `version` integer, required
  - `label` string, nullable
  - `stage` string, required
  - `config` object, required
  - `notes` string, nullable
  - `created_at` integer, required
  - `updated_at` integer, nullable

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.net/agno/apis/agno-api-reference.md) · [All operations](https://skmtc.net/agno/apis/agno-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agno/agno-api-reference/revisions/5f6149d395d0/schema)
