I have created a Greasemonkey script that add a "Remove All" button to JAMF for shared users.
You will need the Greasemonkey extension (or similar ie. tampermonkey) and the script here JDSS. I've only tested with Greasemonkey and the latest Firefox but i'd imagine it will work fine with any of them.
Apple's shared iPads have a limit of 10 cached AppleIDs. When that limit is hit, the iPad will not allow additional users to log in. You then have two options: wipe the device or delete the users from the MDM. JAMF does allow deleting the users one at a time through their interface. Unfortunately, you cannot queue up the delete commands. An error will appear when click the button until the previous command is no longer pending.
This script automates the process. It will repeatedly send the delete user command (every 2 seconds for up to 60 seconds) until it goes through at which point it moves on to the next user.
I'm sure Apple or JAMF or both will eventually release something to address this problem but for now, this works.