I have to acknowledge all the unacknowledged message and make the count zero. If the message is in ready so the using the purge requester (DELETE http://localhost:8767/api/queues/vhost/name/contents) I am able to purge and remove the messages but if it is in unacked then this purge is not working or count still showing in the unacked section.
Kindly suggest how to use the REST API of RabbitMQ to ACK all the messages in the queue and make the count as zero.