---
title: "Change Blacklist Status"
method: PUT
path: "/user/patient/blacklist/{patient_id}"
tags: ["provider", "user"]
---

# Change Blacklist Status

`PUT /user/patient/blacklist/{patient_id}`

## Request

- Base URL: `https://docs.decodahealth.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.decodahealth.com/user/patient/blacklist/{patient_id}`
- Auth: none declared. Required headers: `TENANT`, `API-KEY`
- TypeScript: <https://skmtc.dev/decodahealth/apis/decoda-api/docs/user/patient/blacklist/:patient_id/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `patient_id` string, required

## Query parameters

- `status` boolean, required: Whether to add or remove the patient from the blacklist

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Response `200`

Successful Response

- boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/decodahealth/apis/decoda-api.md) - [All operations](https://skmtc.dev/decodahealth/apis/decoda-api/llms.txt) - [OpenAPI document](https://skmtc.dev/decodahealth/apis/decoda-api/revisions/4ab18c80f9e9?raw)
