---
title: "{{baseUrl}}/persons/:personId/chart/medications/:medicationId/cancel"
method: POST
path: "/persons/{personId}/chart/medications/{medicationId}/cancel"
tags: ["Medications"]
---

# {{baseUrl}}/persons/:personId/chart/medications/:medicationId/cancel

`POST /persons/{personId}/chart/medications/{medicationId}/cancel`

## Request

- Base URL: `https://nativeapi.nextgen.com/nge/prod/nge-api/api`
- URL: `https://nativeapi.nextgen.com/nge/prod/nge-api/api/persons/{personId}/chart/medications/{medicationId}/cancel`
- Auth: none declared. Required headers: `Accept`
- TypeScript: <https://skmtc.dev/nextgen/apis/enterprise-api-uscdi-routes/docs/persons/:personId/chart/medications/:medicationId/cancel/post.ts> (a function with typed inputs; its response is checked against the schema)

Cancels a medication for the given person id and medication id

## Path parameters

- `personId` string, required
- `medicationId` string, required

## Headers

- `Accept` string, required

## Response `200`

OK

- object

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found

---

[API](https://skmtc.dev/nextgen/apis/enterprise-api-uscdi-routes.md) - [All operations](https://skmtc.dev/nextgen/apis/enterprise-api-uscdi-routes/llms.txt) - [OpenAPI document](https://skmtc.dev/nextgen/apis/enterprise-api-uscdi-routes/revisions/191e69116448?raw)
