How to delete multiple accounts from ClearPass Guest with the same Role ID?
Navigate to Guest » Manage Multiple Accounts, in the Filter Column type the search expression as role_id=2 and it will list all the accounts with that Role.
The role id is the value obtained from Role Mapping in ClearPass Policy Manager (Configuration » Identity » Role Mappings » Edit - [Guest Roles])
Default role_id is 1 = Contractor, 2 = Guest, 3= Employee
We can select all matching accounts and Delete them as shown below