# User Remove

| **API URL**     | {{url}}/admin-service/healthfacility/user-remove |
| --------------- | ------------------------------------------------ |
| **Method**      | POST                                             |
| **Description** | Remove the user                                  |

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

| **Field Name**         | **Type** | **Mandatory** | **Example**                                                                                                                             |
| ---------------------- | -------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| id                     | Bigint   | Yes           | Medication id                                                                                                                           |
| appTypes               | String   | Yes           | App type for the user                                                                                                                   |
| countryid              | Bigint   | Yes           | Country id                                                                                                                              |
| tenantId               | Bigint   | Yes           | Tenant Id                                                                                                                               |
| Authorization (Header) | String   | Yes           | Bearer 1ba363a1edf54402b51f58060aa52b11d30f99a490295adec900fdabf2b472181c0bfb165be18f4f5c430c7218a244bd29b9300d3471acc08197ccfb996118f6 |
| client                 | String   | Yes           | web                                                                                                                                     |

```
{
  "id": 1,
  "appTypes": [
    "COMMUNITY"
  ],
  "countryId": 1,
  "tenantIds": [
    2
  ]
}
```

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

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

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