---
title: "Accept or revoke own third-party contacts consent"
method: PUT
path: "/api/patients/third-party-consent"
tags: ["patients"]
---

# Accept or revoke own third-party contacts consent

`PUT /api/patients/third-party-consent`

Patient self-service: accept or revoke the third-party contacts treatment consent.

## Request body

- ThirdPartyConsentRequest — Accept or revoke the patient's third-party contacts treatment consent.
  - `accepted` boolean, required — True to accept the third-party contacts consent, False to revoke it

## Response `200`

Successful Response

- ThirdPartyConsentResponse — Current state of the patient's third-party contacts consent.
  - `third_party_consent` boolean, required — Whether the patient has accepted the third-party contacts consent

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/corabea/apis/corabea-api.md) · [All operations](https://skmtc.dev/corabea/apis/corabea-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corabea/corabea-api/revisions/13c1bce1bdc4/schema)
