def delete(self, task_id): """ Remove the subscription entry matching given task and current user. --- tags: - User description: The user will no longer receive notifications for this task. parameters: - in: path name: task_id required: True schema: type: UUID example: a24a6ea4-ce75-4665-a070-57453082c25 responses: 204: description: Subscription entry removed """ user_service.unsubscribe_from_task(task_id) return "", 204
def delete(self, task_id): user_service.unsubscribe_from_task(task_id) return "", 204