---
title: "POST /v1/prompt-2025/id/{promptId}/rename"
method: POST
path: "/v1/prompt-2025/id/{promptId}/rename"
tags: ["Prompt2025"]
---

# POST /v1/prompt-2025/id/{promptId}/rename

`POST /v1/prompt-2025/id/{promptId}/rename`

## Request

- Base URL: `https://api.helicone.ai`
- URL: `https://api.helicone.ai/v1/prompt-2025/id/{promptId}/rename`
- Auth: API key in header `Authorization`

## Path parameters

- `promptId` string, required

## Request body

- object
  - `name` string, required

## Response `200`

Ok

- union
  - ResultSuccessNull
    - `data` null, nullable, required
    - `error` null, nullable, required
  - ResultErrorString
    - `data` null, nullable, required
    - `error` string, required

---

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