Update an existing prompt
POST
Update an existing prompt.
Personal access token scope: prompts:write.
bearerheader
AuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
application/json- body
content*stringNew content of the prompt
id*stringPrompt ID to update
name*stringNew name of the prompt
Success
curl -X POST 'http://localhost:7091/api/update_prompt' \ -H 'Content-Type: application/json' \ -d '{ "content": "string", "id": "string", "name": "string"}'Example Response200
Empty