code: def make_primary(self, user, identity):
          
          return UserIdentityRequest(self).put(self.endpoint.make_primary, user, identity)
docs: Set the specified user as primary for the specified user.
  
          :param user: User object or id
          :param identity: Identity object or id
          :return: list of user's Identities