I want to delete all of my comments, but the https://api.stackexchange.com/2.2/comments/$ID/delete API method has a limit of 20 deletions per day. I don't want to call it every day for months, so is there a faster way?

Is it possible to remove the limit for my application only? (Application id: 16663)

  • 2
    You can't even delete 20 comments under different posts from the site, so if anything, you would need to remove that rate limit first, which is unlikely to happen. See:meta.stackexchange.com/questions/164899/… – rene Dec 8 '19 at 15:40
  • 2
    Write a cronjob that calls the API for you once every day. – I am not the way you speak Dec 8 '19 at 15:47
  • 4
    Why do you need to delete all of your comments at all? Were they all this bad to deserve it? – πάντα ῥεῖ Dec 8 '19 at 16:47
  • 3
    @πάνταῥεῖ I've noticed that a mod rewrote my comment to something I didn't intent to write. This won't happen again if there would be no comments. – Abyx Dec 8 '19 at 22:48

It's not possible to do it faster; according to The Complete Rate-Limiting Guide you

Can only delete own comments under 20 posts per day (multiple comments under same post are treated as one)

This limit applies to both the API and the regular site. Per-app exceptions to the rate limits haven't been made before; the only exceptions I know of are increased daily quota; Smoke Detector has a doubled quota (20,000) and the mobile apps have an essentially unlimited quota.

While cleaning up old comments might be a noble cause, simply deleting them programmatically is not the way to go. It even borders on 'self-destruction of useful content' (a.k.a. 'rage quitting') which is one of the stock reasons to suspend users temporarily. Comments fall under the CC-BY-SA 2.5 3.0 4.0 license too, just like posts.

If you decide to delete old comments, please check whether the content is useful enough to be kept in the post instead. If it doesn't, have a look at other comments under the same post and consider flagging them as 'no longer needed' if they don't make sense anymore (because they were a reply to one of your comments). Flagging as 'no longer needed' doesn't impose any penalties on the user whose comment you're flagging.

  • Is there an mod flag raised if a user deletes 20 comments a day, over multiple days? – rene Dec 8 '19 at 20:30
  • 2
    Thought comments were supposed to be temporary and eventually deleted. How can comments be considered "self-destruction of helpful content"? – Ramhound Dec 8 '19 at 21:48
  • I'm under the impression - and this is very rare, there's an autoflag for mass comment deletions in some cases. I don't remember when I saw it though, – Journeyman Geek Dec 8 '19 at 23:33
  • 3
    How cute that my comments were deleted by a mod. Well, now there is this question - meta.stackexchange.com/q/339898/152799 – Abyx Dec 9 '19 at 0:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .