curl --request DELETE \
--url https://cloud.kaneo.app/api/comment/{id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"taskId": "<string>",
"userId": "<string>",
"content": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {
"name": "<string>",
"image": "<string>"
}
}Delete a comment (author only)
curl --request DELETE \
--url https://cloud.kaneo.app/api/comment/{id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"taskId": "<string>",
"userId": "<string>",
"content": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"user": {
"name": "<string>",
"image": "<string>"
}
}Bearer token authentication
Was this page helpful?