Update Blog Comment
Powered by VitePress OpenAPI
Update a blog comment.
Auth: session.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | Post id |
commentId | path | string | Yes | Comment id |
Request Body
json
{
"body": "Edited comment"
}Response 200
json
{
"data": { "id": "com_2", "updated": true },
"user_context": { "authenticated": true },
"meta": {}
}Response Errors
400invalid comment payload401missing session403not allowed404comment not found
Notes
- Usually limited to the comment author or moderators.
- Keep edits short and auditable.