We have test environments that are refreshed fairly regularly and we have a series of post-refresh steps that includes Archiving failed messages.
I know I can get (some) failed messages using server:port/api/errors?status=unresolved (though it appears as if it will only give me 50 items back - is there a way to indicate # of messages in the response?)
I can build a JSON package of message id’s as well, but I’m wondering if there is a call I can make (either via POST or PATCH) to bulk archive the messages programmatically so we can automate the post-refresh process.
Perhaps something like server:port/api/errors/archive/ or “resolve”
Any information or help would be greatly appreciated