You need to first delete all the users, then the role and the domain.Go to the admin console your domain and then go to the different roles and select all the users and delete them and once you do that now you delete the roles and then finally the domain.