# 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](https://docs.neox.vn/docs/collections/integration/error-codes). |
| message       | String    | Error description.                                                                                          |
| neoResponseId | String    | The ID of NeoX response.                                                                                    |
