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

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
string
required

Provider ID

promptID
string
required

Prompt ID

Body

application/json
prompt
object

Response

204

Provider Prompt updated