ورود | ثبت نام
  • FA
  • EN

API Docs

DELETE /api/v1/comments/{comment-id}

Deletes a comment by its ID.


Permissions

PermissionDescription
view (commentable)Must have view permission on the target resource
comments.deleteDelete your own comments
comments.delete_anyDelete any comment (admin or moderator)

Path Parameters

NameTypeRequiredDescriptionExample
comment-idintYesID of the comment to delete123

Response

204 No Content

Comment was successfully deleted. No response body is returned.


Error Responses

StatusDescriptionReference
401UnauthorizedAuthentication error
403Forbidden (no permission)Permission error
404Not foundNot-found error
footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutubeTelegram