DELETE
/
api
/
v4
/
comments
/
{commentId}
delete a comment.
curl --request DELETE \
  --url https://apix.us.amity.co/api/v4/comments/{commentId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

commentId
string
required

Query Parameters

permanent
boolean

If permanent data will be hard deleted

Response

200
application/json

OK

The response is of type object.