Skip to content

Delete Document Comment

Permanently delete a comment from a document. Requires the DOCUMENTS feature flag and ADMIN, DELETE_COMMENT, UPDATE_DOCUMENT, or MANAGE_DOCUMENTS permissions.

Parameters

name * are required parametersdata typedescription
documentId*stringThe unique identifier of the document
commentId*stringThe unique identifier of the comment to delete

Return Value

json
{
  "statusCode": 201,
  "data": null,
  "message": "Comment deleted"
}

Examples

bash
curl -X POST "https://app.wombat.software/api/{targetPath}/document/:documentId/comment/:commentId/delete" \
  -H "Content-Type: application/json" \
  -H "Authentication: Bearer ..."

ENDPOINTS

post/api/{targetPath}/document/:documentId/comment/:commentId/delete