StatsHub Docs
APIAPI v2V2 endpoint referenceAdmin

/admin/dashboard/bot/prompt-templates/{id}

PUT
/admin/dashboard/bot/prompt-templates/{id}

Authorization

AuthorizationBearer <token>

Supabase access token.

In: header

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

application/problem+json

curl -X PUT "https://example.com/admin/dashboard/bot/prompt-templates/string" \  -H "Content-Type: application/json" \  -d '{    "content": "string",    "isActive": true,    "name": "string"  }'
{  "content": "string",  "createdAt": "string",  "id": 0,  "isActive": true,  "name": "string",  "updatedAt": "string"}