---
title: "[DEPRECATED] Update a food's associated user ids based on assignment"
method: PATCH
path: "/foods/{food_name}/assign_task"
tags: ["food"]
deprecated: true
---

# \[DEPRECATED\] Update a food's associated user ids based on assignment

`PATCH /foods/{food_name}/assign_task`

> **Deprecated.**

## Path parameters

- `food_name` string, required

## Request body

- FoodAssignmentRequest
  - `reviewed_by_user_id` number, nullable
  - `scraped_by_user_id` number, nullable

## Response `200`

successful operation

- FoodAssignmentResponse
  - `assigned_to_user_id` number, required
  - `food` string, required
  - `next_status` string, required

---

[API](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server.md) · [All operations](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/llms.txt) · [OpenAPI document](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/revisions/a229b18839a0?raw)
