@extract_id(User, Identity)<EOL><INDENT>def make_primary(self, user, identity):<DEDENT>
return UserIdentityRequest(self).put(self.endpoint.make_primary, user, identity)<EOL>
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