---
title: "PATCH /v1/prompt/{promptId}/user-defined-id"
method: PATCH
path: "/v1/prompt/{promptId}/user-defined-id"
tags: ["Prompt"]
---

# PATCH /v1/prompt/{promptId}/user-defined-id

`PATCH /v1/prompt/{promptId}/user-defined-id`

## Path parameters

- `promptId` string, required

## Request body

- object
  - `userDefinedId` 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.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)
