| Location | Name | Required | Meaning |
|---|---|---|---|
| path | id | Yes | Use the ID from an authorized staff response; source validators reject malformed IDs. |
| header | X-Admin-CSRF | Yes | Session-bound token from the staff page; not a developer credential. |
{
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "Service trims the title and enforces the 120-character limit."
},
"body": {
"type": "string",
"minLength": 1,
"maxLength": 5000
},
"topic": {
"type": "string",
"maxLength": 32
}
},
"required": [
"title",
"body"
]
}{error:{code,message}} for CloudError failures, attaches Request-Id, and disables caching. Handle 401 by signing in; show role refusal for 403 forbidden, reauthenticate only for step_up_required, and collect a reason for 400 reason_required. A CSRF failure needs a current page/session token, not blind retries. Operation-specific 404/409/413/422/502/503 errors retain their status. Honor Retry-After on 429.export const PUT = adminRoute("support.manage", async (request, ctx, context: Context) => adminJson(await updateCanned(ctx, await idOf(context), await readBody(request, BODY))));