Endpoint referenceDashboard
/dashboard/bot/prompt-templates/{id}
A blank name or content is ignored rather than written — the original guards each with a truthiness check, so a template cannot be emptied through this endpoint.
A blank name or content is ignored rather than written — the original guards each with a truthiness check, so a template cannot be emptied through this endpoint.
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://example.com/api/v2/dashboard/bot/prompt-templates/string" \ -H "Content-Type: application/json" \ -d '{ "content": "string", "isActive": true, "name": "string" }'{ "$schema": "https://example.com/schemas/BotPromptTemplates.json", "content": "string", "createdAt": "string", "id": 0, "isActive": true, "name": "string", "updatedAt": "string"}