Skip to main content
DELETE
/
comment
/
{id}
Delete Task Comment
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>"
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

id
string
required

Response

200 - application/json

Comment deleted successfully

id
string
required
taskId
string
required
userId
string
required
content
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
user
object