public GroupUserIdentityResponse setUserIdentityAsPrimary(long userId, long identityId) throws ZendeskApiException {
User nullUser = new User();
try {
return genericPut(getUserIdentityIdUri(userId, identityId) + "/make_primary.json", nullUser, GroupUserIdentityResponse.class);
} catch (Exception e) {
throw new ZendeskApiException("Could not set identity id " + identityId + " for user id " + userId + " as primary", e);
}
}