> For the complete documentation index, see [llms.txt](https://spice.docs.medtroniclabs.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spice.docs.medtroniclabs.org/versions/spice-1.0/engineering/api-documentation/admin-services/account/account-deactivate.md).

# Account - Deactivate

| **API URL**     | {{url}}/admin-service/account/deactivate |
| --------------- | ---------------------------------------- |
| **Method**      | PUT                                      |
| **Description** | Deactivate the account                   |

#### **Input** <a href="#account-deactivate-input" id="account-deactivate-input"></a>

| **Field Name** | **Type** | **Mandatory** | **Example**   |
| -------------- | -------- | ------------- | ------------- |
| status         | String   | Yes           | Inactive site |

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

{\
"tenantId":460,\
"status":"Inactive site"\
}

#### **Output** <a href="#account-deactivate-output" id="account-deactivate-output"></a>

| **Field Name** | **Type** | **Comments** |
| -------------- | -------- | ------------ |
| `tenantId`     | Number   | 460          |

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

```
{
    "message": "Account deactivated successfully."
}
```
