In the search and activity PRs, we've moved some of the global admin specific functionality out of the rest-api and into test utilities. However, in this case I'm not sure if that would be the right thing to do. @mrvisser @simong What do you think?