def close_notification_for_user(self, user, notification):
from canvasapi.user import User<EOL>user_id = obj_or_id(user, "<STR_LIT:user>", (User,))<EOL>notif_id = obj_or_id(notification, "<STR_LIT>", (AccountNotification,))<EOL>response = self._requester.request(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>'.format(self.id, user_id, notif_id)<EOL>)<EOL>return AccountNotification(self._requester, response.json())<EOL>
If the user no long wants to see a notification, it can be
excused with this call.

:calls: `DELETE /api/v1/accounts/:account_id/users/:user_id/account_notifications/:id \
<https://canvas.instructure.com/doc/api/account_notifications.html#method.account_notifications.user_close_notification>`_

:param user: The user object or ID to close the notificaton for.
:type user: :class:`canvasapi.user.User` or int
:param notification: The notification object or ID to close.
:type notification: :class:`canvasapi.account.AccountNotification` or int

:rtype: :class:`canvasapi.account.AccountNotification`