---
title: "Update"
method: PUT
path: "/AllergyIntolerance/{ID}"
---

# Update

`PUT /AllergyIntolerance/{ID}`

Updates allergy resource or creates new one

## Path parameters

- `ID` string, required

## Headers

- `Authorization` string, required
- `Content-Type` string, required
- `Accept` string

## Request body

- object
  - `resourceType` string, required — FHIR resource type for the request body.
  - `id` string, required — Logical id of this artifact. Must match the ID in the request path.

## Response `200`

OK

- object
  - `resourceType` string, required — FHIR resource type returned in the response.
  - `id` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/healthgorilla/apis/fhir-r4-api-sandbox.md) · [All operations](https://skmtc.net/healthgorilla/apis/fhir-r4-api-sandbox/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/healthgorilla/fhir-r4-api-sandbox/versions/4b27de6d8093/schema)
