> For the complete documentation index, see [llms.txt](https://docs.neox.vn/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.neox.vn/docs/collections/integration/virtual-accounts/set-active-virtual-account.md).

# API set active/inactive Virtual Account

* This is the API used to update KYC virtual account information.
* API:
  * Path: *v2/col/virtual-accounts/:virtualAccountRequestId/setActive*
  * Method: *PUT*
  * Request: Content-Type: *application/json*

### **Request Parameter**

<table><thead><tr><th width="239">Parameter</th><th width="124">Data Type</th><th width="101">Required</th><th>Description</th></tr></thead><tbody><tr><td>isActive</td><td>boolean</td><td>Y</td><td><p>true: to set active virtual account</p><p>false: to set inactive virtual account</p></td></tr></tbody></table>

### **Response Data**

| Parameter     | Data Type | Description                                                                                |
| ------------- | --------- | ------------------------------------------------------------------------------------------ |
| code          | Number    | Error code, refer to [table of error codes](/docs/collections/integration/error-codes.md). |
| message       | String    | Error description.                                                                         |
| neoResponseId | String    | The ID of NeoX response.                                                                   |
