v56

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014121451.1 MB
Comments

Delete a comment

Delete a comment in Comp AI. Create and manage collaboration comments on compliance entities such as tasks, policies, risks, vendors, and findings.

delete/v1/comments/{commentId}

Path parameters

commentIdstring required
Example:cmt_abc123def456

Unique comment identifier

Request body

userIdstring

User ID of the comment author (required for API key auth, ignored for JWT auth)

Example request

{
  "userId": "usr_abc123def456"
}

Response

Comment deleted successfully

successboolean
deletedCommentIdstring
messagestring

Example response

{
  "success": true,
  "deletedCommentId": "cmt_abc123def456",
  "message": "Comment deleted successfully"
}