Skip to main content
PATCH
/
prompts
/
{prompt_id}
Update Prompt
curl --request PATCH \
  --url https://api.peec.ai/customer/v1/prompts/{prompt_id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "topic_id": "<string>",
  "tag_ids": [
    "<string>"
  ]
}
'
{}

Authorizations

X-API-Key
string
header
required

Path Parameters

prompt_id
string
required

Body

topic_id
string | null
tag_ids
string[]

Response

Prompt updated successfully

Prompt updated successfully