{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To update information about a VPC, send a PUT request to `/v2/vpcs/$VPC_ID`.\n","properties":{"path":{"type":"object","properties":{"vpc_id":{"type":"string","format":"uuid","minimum":1,"examples":["4de7ac8b-495b-4884-9a69-1050c6793cd6"],"description":"A unique identifier for a VPC."}},"required":["vpc_id"],"additionalProperties":false},"body":{"type":"object","allOf":[{"$ref":"#/definitions/vpc_updatable"},{"$ref":"#/definitions/vpc_default"}],"required":["name"]}},"required":["path","body"],"additionalProperties":false,"definitions":{"vpc_updatable":{"type":"object","properties":{"name":{"type":"string","pattern":"^[a-zA-Z0-9\\-\\.]+$","description":"The name of the VPC. Must be unique and may only contain alphanumeric characters, dashes, and periods.","examples":["env.prod-vpc"]},"description":{"type":"string","maxLength":255,"description":"A free-form text field for describing the VPC's purpose. It may be a maximum of 255 characters.","examples":["VPC for production environment"]}}},"vpc_default":{"type":"object","properties":{"default":{"type":"boolean","description":"A boolean value indicating whether or not the VPC is the default network for the region. All applicable resources are placed into the default VPC network unless otherwise specified during their creation. The `default` field cannot be unset from `true`. If you want to set a new default VPC network, update the `default` field of another VPC network in the same region. The previous network's `default` field will be set to `false` when a new default VPC has been defined.","examples":[true]}}}}},"name":"Update a VPC","id":"digitalocean.vpcs_update","example":{"path":{"vpc_id":"4de7ac8b-495b-4884-9a69-1050c6793cd6"},"body":{"name":"example"}},"maxRequests":1,"summary":false}}