---
title: "Hide an Rx item"
method: POST
path: "/rest/rx/{version}/hide/{id}"
tags: ["rx"]
---

# Hide an Rx item

`POST /rest/rx/{version}/hide/{id}`

## Request

- Base URL: `https://api.seer.cancer.gov`
- URL: `https://api.seer.cancer.gov/rest/rx/{version}/hide/{id}`
- Auth: API key in header `X-SEERAPI-Key`
- TypeScript: <https://skmtc.dev/cancer/apis/seer-api/docs/rest/rx/:version/hide/:id/post.ts> (a function with typed inputs; its response is checked against the schema)

Given a DEVELOPMENT Rx item, hide the associated production Rx item. If there are other unpublished changes in the DEVELOPMENT Rx item, they will not be published.

## Path parameters

- `version` string, required
- `id` string, required

## Query parameters

- `description` string

## Response `201`

Success

## Other responses

- `204`: No Content
- `400`: Invalid input
- `404`: Unknown version

---

[API](https://skmtc.dev/cancer/apis/seer-api.md) - [All operations](https://skmtc.dev/cancer/apis/seer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cancer/apis/seer-api/revisions/2ab11538b3c7?raw)
