API reference/Blog
Delete a blog comment
Try itDeletes a comment for good — waiting or showing. A showing one leaves the live site at once.
DELETE
/api/v1/sites/{site_id}/comments/{comment_id}Authentication
An API key as Authorization: Bearer or x-api-key. It needs the blog:write scope — write, publish and delete blog posts (live at once).
blog:writeDeletesIdempotency-Key optionalMCP tool: delete_post_comment
Parameters
Named placeholders go in the path; the rest in the query string.
site_idstringPath · required- The site's id.1 to 100 characters
comment_idstringPath · required- The comment's id.1 to 100 characters
Response
200 with JSON on success (schema on the right). Errors use the standard envelope; a retry with the same Idempotency-Key gets the first answer back (how retries work).
curl -X DELETE 'https://websites.workflowcorp.com/api/v1/sites/SITE_ID/comments/COMMENT_ID' \
-H "Authorization: Bearer $WEBSITEBUDDY_API_KEY"{
"site_id": "SITE_ID",
"comment_id": "COMMENT_ID"
}{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"deleted": {
"type": "boolean",
"const": true
}
},
"required": [
"id",
"deleted"
],
"additionalProperties": false
}