> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/cloudeka-api/deka-flexi/core-flexi-network-vpc-update-vpc_id.md).

# /core/flexi/network/vpc/update/{vpc\_id}

```json
{"openapi":"3.1.1","info":{"title":"Cloudeka AI - API Documentation","version":"1.0.0"},"tags":[{"name":"Deka Flexi","description":"API endpoints for Deka Flexi (base: /core/flexi)"}],"servers":[{"url":"https://ai.cloudeka.id/"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"description":"Type 'Bearer ' followed by your JWT token. Example: \"Bearer eyJhbGciOi...\"","type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"ai_flexi__engine.ResponseSuccess":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"boolean"}}},"ai_flexi__engine.ResponseStatus":{"type":"object","properties":{"data":{},"errors":{},"message":{"type":"string"},"status":{"type":"boolean"}}},"ai_flexi__requests.EditVPCParam":{"type":"object","properties":{"description":{"type":"string"},"id":{"type":"string"},"ip":{"type":"string"},"name":{"type":"string"},"network_size":{"type":"integer"},"project_ids":{"type":"array","items":{"type":"string"}},"region":{"type":"string"},"shared":{"type":"boolean"},"type":{"type":"string"}}}}},"paths":{"/core/flexi/network/vpc/update/{vpc_id}":{"post":{"tags":["Deka Flexi","Network"],"parameters":[{"schema":{"type":"string"},"description":"VPC ID","name":"vpc_id","in":"path","required":true}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_flexi__engine.ResponseSuccess"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_flexi__engine.ResponseStatus"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_flexi__requests.EditVPCParam"}}},"description":"Edit VPC request","required":true}}}}}
```
