SnozeDevelopers
API referenceSurfaces

Delete a block comment

Removes the comment from the surface and records the deletion in the workspace event log. The comment's author may delete their own comment with `blocks:read`; deleting someone else's requires `blocks:write` on the surface. Returns a not-found error for an unknown surface or comment.

DELETE
/v1/workspaces/{workspaceId}/surfaces/{surfaceId}/comments/{commentId}
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string
surfaceId*string
commentId*string

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/workspaces/string/surfaces/string/comments/string"
{  "data": {    "id": "string"  }}