Docs Rizler

Learning

Delete Lesson Comment

DELETEhttps://app.rizzdial.com/api/knowledge-hub/learning/comments/{commentId}
Delete Lesson Comment
curl --request DELETE \
  --url https://app.rizzdial.com/api/knowledge-hub/learning/comments/<commentId> \
  --header 'Authorization: Bearer <token>'
{
  "message": "Comment deleted successfully.",
  "success": true
}

Delete Lesson Comment#

Soft-deletes your own comment (status deleted). Other users' comments return 403. Requires view-knowledge-hub.

Authorizationstringheaderrequired

Bearer token in the format: Bearer {access_token}

commentIdstringpathrequired

Base64 id from the matching list or builder. A raw numeric id is also accepted.

curl --request DELETE \
  --url https://app.rizzdial.com/api/knowledge-hub/learning/comments/MQ== \
  --header 'Authorization: Bearer {{bearer_token}}'
messagestring

Comment deleted successfully.