---
title: "PATCH /model-hub/prompt-labels/{id}/"
method: PATCH
path: "/model-hub/prompt-labels/{id}/"
tags: ["model-hub"]
---

# PATCH /model-hub/prompt-labels/{id}/

`PATCH /model-hub/prompt-labels/{id}/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/model-hub/prompt-labels/{id}/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Request body

- PromptLabel
  - `id` string, uuid
  - `organization` string, uuid
  - `name` string, required
  - `type` 'system' | 'custom', required
  - `metadata` object, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Response `200`

OK

- PromptLabel
  - `id` string, uuid
  - `organization` string, uuid
  - `name` string, required
  - `type` 'system' | 'custom', required
  - `metadata` object, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
