> ## Documentation Index > Fetch the complete documentation index at: https://help.narmi.com/llms.txt > Use this file to discover all available pages before exploring further. # Update account > Update the status for a virtual account. ## OpenAPI ````json PATCH /baas/accounts/{virtual_account_number}/ { "openapi": "3.0.3", "info": { "title": "FedNow BaaS API", "version": "v1", "description": "To read about the FedNow BaaS API, go to [FedNow BaaS API Overview](https://docs.narmi.com/docs/narmi-developer-docs/pophnqy15mvvk-fed-now-baa-s-api).", "termsOfService": "https://www.narmi.com/policies/developer-terms-conditions", "contact": { "name": "Narmi support", "email": "support@narmi.com" } }, "x-stoplight": { "id": "z5r03mzcgc1s4" }, "paths": { "/baas/accounts/{virtual_account_number}/": { "patch": { "operationId": "Update account", "description": "Update the status for a virtual account.", "summary": "Update account", "parameters": [ { "in": "path", "name": "virtual_account_number", "schema": { "type": "string" }, "description": "Virtual account number", "required": true } ], "tags": [ "accounts" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PatchedVirtualAccountUpdate" }, "examples": { "VirtualAccount": { "value": { "virtual_account_number": "000501", "custodial_account_number": "1234123", "active": true, "owners": [ { "user_id": "4055e7fa-a2c7-4142-9925-1937f8124271", "name": "Anne Sherald" } ], "account_id": "a123555", "routing_number": "826183331" }, "summary": "Virtual account" } } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/PatchedVirtualAccountUpdate" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/PatchedVirtualAccountUpdate" } } } }, "security": [ { "tokenAuth": [] } ], "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/VirtualAccountUpdate" }, "examples": { "VirtualAccount": { "value": { "virtual_account_number": "000501", "custodial_account_number": "1234123", "active": true, "owners": [ { "user_id": "4055e7fa-a2c7-4142-9925-1937f8124271", "name": "Anne Sherald" } ], "account_id": "a123555", "routing_number": "826183331" }, "summary": "Virtual account" } } } }, "description": "" } }, "x-stoplight": { "id": "dh0q5idnws6nk" } } } }, "components": { "schemas": { "PatchedVirtualAccountUpdate": { "type": "object", "properties": { "active": { "type": "boolean", "description": "Indicates if the acount is an active and valid transfer source and destination." }, "virtual_account_number": { "type": "string", "readOnly": true, "description": "Virtual account number. Note: this must be within the configured prefix / range for the fintech." }, "custodial_account_number": { "type": "string", "description": "Core account number." }, "routing_number": { "type": "string", "readOnly": true, "description": "The routing number of the financial institution." }, "account_id": { "type": "string", "maxLength": 64 }, "owners": { "type": "array", "items": { "$ref": "#/components/schemas/VirtualAccountUser" }, "description": "Array of account holder(s) information." } }, "x-stoplight": { "id": "mfpblzlzemvtf" } }, "VirtualAccountUpdate": { "type": "object", "properties": { "active": { "type": "boolean", "description": "Indicates if the acount is an active and valid transfer source and destination." }, "virtual_account_number": { "type": "string", "readOnly": true, "description": "Virtual account number. Note: this must be within the configured prefix / range for the fintech." }, "custodial_account_number": { "type": "string", "description": "Core account number." }, "routing_number": { "type": "string", "readOnly": true, "description": "The routing number of the financial institution." }, "account_id": { "type": "string", "maxLength": 64 }, "owners": { "type": "array", "items": { "$ref": "#/components/schemas/VirtualAccountUser" }, "description": "Array of account holder(s) information." } }, "required": [ "routing_number", "virtual_account_number" ], "x-stoplight": { "id": "14owf9uubknxj" } }, "VirtualAccountUser": { "type": "object", "properties": { "name": { "type": "string", "description": "Name of the account holder.", "maxLength": 140 }, "user_id": { "type": "string", "description": "External identifier of the account holder.", "maxLength": 64 } }, "required": [ "user_id" ], "x-stoplight": { "id": "egzijvlsehcyy" } } }, "securitySchemes": { "tokenAuth": { "type": "apiKey", "in": "header", "name": "Authorization", "description": "Token-based authentication with required prefix \"Token\"" } } } } ````