---
title: "POST /v1/prompt/version/{promptVersionId}/edit-label"
method: POST
path: "/v1/prompt/version/{promptVersionId}/edit-label"
tags: ["Prompt"]
---

# POST /v1/prompt/version/{promptVersionId}/edit-label

`POST /v1/prompt/version/{promptVersionId}/edit-label`

## Path parameters

- `promptVersionId` string, required

## Request body

- PromptEditSubversionLabelParams
  - `label` string, required

## Response `200`

Ok

- union
  - ResultSuccessMetadataRecordStringAny
    - `data` object, required
      - `metadata` RecordStringAny, required — Construct a type with a set of properties K of type T
    - `error` null, nullable, required
  - ResultErrorString
    - `data` null, nullable, required
    - `error` string, required

---

[API](https://skmtc.net/helicone/apis/helicone-api.md) · [All operations](https://skmtc.net/helicone/apis/helicone-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/helicone/helicone-api/versions/b369e9e3e80c/schema)
