---
title: "Update medical alert"
method: PATCH
path: "/medical_alerts/{id}"
tags: ["Medical Alert"]
---

# Update medical alert

`PATCH /medical_alerts/{id}`

## Path parameters

- `id` string, int64, required

## Request body

- object
  - `name` string
  - `patient_id` string, int64 — patient id

## Response `200`

Resource was updated

- MedicalAlert
  - `archived_at` string, date-time, nullable
  - `created_at` string, date-time
  - `deleted_at` string, date-time, nullable
  - `id` string, int64
  - `links` object
    - `self` string, uri
  - `name` string
  - `patient` object
    - `links` object
      - `self` string, uri
  - `updated_at` string, date-time

## Other responses

- `422` — Resource could not be saved due to validation errors

---

[API](https://skmtc.net/cliniko/apis/cliniko-api.md) · [All operations](https://skmtc.net/cliniko/apis/cliniko-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cliniko/cliniko-api/versions/c129a555ff44/schema)
