Skip to main content
PATCH
/
providers
/
{id}
/
prompts
/
{promptID}
Update Provider Prompt
curl --request PATCH \
  --url https://api.example.com/providers/{id}/prompts/{promptID} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": {
    "name": "<string>",
    "description": "<string>",
    "arguments": {},
    "messages": {}
  }
}
'

Authorizations

Authorization
string
header
required

Enter 'Bearer' followed by a space and your token (e.g., 'Bearer ${HASMCP_ACCESS_TOKEN}').

Path Parameters

id
string
required

Provider ID

promptID
string
required

Prompt ID

Body

application/json
prompt
object

Response

204

Provider Prompt updated