@extract_id(User)<EOL><INDENT>def set_password(self, user, password):<DEDENT>
url = self._build_url(self.endpoint.set_password(id=user))<EOL>return self._post(url, payload=dict(password=password))<EOL>
Sets the password for the passed user.
Zendesk API `Reference <https://developer.zendesk.com/rest_api/docs/support/users#set-a-users-password>`__.

:param user: User object or id
:param password: new password