# Medication Remove

| **API URL**     | {{url}}/admin-service/medication/remove |
| --------------- | --------------------------------------- |
| **Method**      | POST                                    |
| **Description** | Delete the medication details           |

#### **Sample Input** <a href="#medicationremove-v2-sampleinput" id="medicationremove-v2-sampleinput"></a>

| **Field Name**         | **Type** | **Mandatory** | **Example**                                                                                                                             |
| ---------------------- | -------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| id                     | Bigint   | Yes           | Medication id                                                                                                                           |
| tenantId               | Bigint   | Yes           | Tenant Id                                                                                                                               |
| Authorization (Header) | String   | Yes           | Bearer 1ba363a1edf54402b51f58060aa52b11d30f99a490295adec900fdabf2b472181c0bfb165be18f4f5c430c7218a244bd29b9300d3471acc08197ccfb996118f6 |
| client                 | String   | Yes           | web                                                                                                                                     |

```
{
  "id": 1,
  "tenantId":33
}  
```

#### **Sample Output** <a href="#medicationremove-v2-sampleoutput" id="medicationremove-v2-sampleoutput"></a>

| **Field Name** | **Type** | **Example**                      |
| -------------- | -------- | -------------------------------- |
| message        | String   | Medication removed successfully. |
| status         | Boolean  | Entity status for request        |

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