I know that I can delete a single comment from an issue using
DELETE /rest/api/3/issue/{issueIdOrKey}/comment/{id}
I need to delete multiple comments from the same issue. How can I include more than one comment id in the command?
That's not supported :(
You could create a suggestion at https://jira.atlassian.com/browse/JRASERVER but don't hold your breath.
If you are using on-prem Jira you could use the ScriptRunner plugin to create a custom REST API to do this.
But before optimizing all this, I would get some results to prove that doing it one at a time is too slow
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.