def delete(self, filter_id): """ Delete given filter if it's owned by current user. --- tags: - User parameters: - in: path name: filter_id required: True schema: type: UUID example: a24a6ea4-ce75-4665-a070-57453082c25 responses: 204: description: Given filter deleted """ user_service.remove_filter(filter_id) return "", 204
def delete(self, filter_id): user_service.remove_filter(filter_id) return "", 204
def delete(self, filter_id): return user_service.remove_filter(filter_id), 204