# Prescription Remove

| **API URL**     | {{url}}/spice-service/prescription/remove |
| --------------- | ----------------------------------------- |
| **Method**      | PUT                                       |
| **Description** | Prescription Remove                       |

#### **Input:** <a href="#prescriptionremove-input" id="prescriptionremove-input"></a>

| **Field Name**        | **Type** | **Mandatory** | **Example**                                                                                                                                     |
| --------------------- | -------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| Authorization(Header) | String   | Yes           | Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI |

#### **Input:** <a href="#prescriptionremove-input-.1" id="prescriptionremove-input-.1"></a>

| **Field Name**     | **Type** | **Mandatory** | **Example**                                          |
| ------------------ | -------- | ------------- | ---------------------------------------------------- |
| discontinuedReason | String   | Yes           | Patient is suffering from allergy to take medication |

#### **Sample Input:** <a href="#prescriptionremove-sampleinput" id="prescriptionremove-sampleinput"></a>

{     "discontinuedReason": "gg",     "id": 2,     "patientTrackId": 1,     "patientVisitId": 21,     "tenantId": 4 }

#### **Sample Output:** <a href="#prescriptionremove-sampleoutput" id="prescriptionremove-sampleoutput"></a>

```
{
    "message": "Prescription removed successfully.",
    "entity": null,
    "status": true,
    "entityList": null,
    "responseCode": 200,
    "totalCount": null
}
```
