DELETE
/
v1
/
comments
/
{commentId}
Delete a comment
curl --request DELETE \
  --url https://api.trycomp.ai/v1/comments/{commentId} \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "deletedCommentId": "cmt_abc123def456",
  "message": "Comment deleted successfully"
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Headers

X-Organization-Id
string

Organization ID (required for session auth, optional for API key auth)

Path Parameters

commentId
string
required

Unique comment identifier

Example:

"cmt_abc123def456"

Response

Comment deleted successfully

success
boolean
Example:

true

deletedCommentId
string
Example:

"cmt_abc123def456"

message
string
Example:

"Comment deleted successfully"