---
title: "Add or update a diet restriction for a patient"
method: POST
path: "/patients/{patient_id}/diet_restriction"
tags: ["diet restrictions"]
---

# Add or update a diet restriction for a patient

`POST /patients/{patient_id}/diet_restriction`

## Path parameters

- `patient_id` integer, required

## Request body

- CreatePatientDietRestrictionRequest
  - `comment` string, nullable
  - `name` string, required

## Response `200`

successful operation

- PatientDietRestrictionResponse
  - `comment` string, nullable
  - `id` integer, required
  - `name` string, required
  - `name_translations` object, nullable

---

[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/c17aca2782f6?raw)
