Hi Marcelloh,
Your rmdirs command seems correct if you are trying to recursively remove all empty directories under remote:stack.
I do see some OneDrive throttling, but that could be OK if your have many folders/files and/or have had a lot of OneDrive activity in the past 24 hours. You therefore may get some good info from this post/thread on OneDrive throttling:
If the above post doesn't help, then I need some additional information to better understand your situation:
What are the characteristics of your data in remote:stack? How many folders? How many empty folders? How many files? Total size? Anything special?
What are the characteristics of the past 24 hours activity on your OneDrive? (both rclone and native clients)