def METHOD_NAME(self, request, pk=None):
    """Mark the notification as read."""
    notification = self.get_object()
    notification.is_read = True
    notification.save()
    return Response(status=status.HTTP_204_NO_CONTENT)