Stop a medication
Marks a medication inactive (e.g. the course finished or a doctor discontinued it) without deleting its history.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
medication_id*Medication Id
Format
uuidHeader Parameters
x-api-key?string|null
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://example.com/api/v1/medications/497f6eca-6276-4993-bfeb-53cbbbba6f08/deactivate" \ -H "Content-Type: application/json" \ -d '{}'null{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}