{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To update the next hop for a user-defined VPC subnet route, send a PATCH\nrequest to\n`/v2/vpcs/$VPC_UUID/subnets/$SUBNET_UUID/routes/$ROUTE_UUID`. The\n`destination_cidr` cannot be changed.\n\nDroplet targets must use a numeric ID. A Droplet UUID or another invalid\n`target_urns` value returns a 422 response.\n","properties":{"path":{"type":"object","properties":{"vpc_uuid":{"type":"string","format":"uuid","examples":["997615ce-132d-4bae-9270-9ee21b395e5d"],"description":"The unique identifier of the VPC."},"subnet_uuid":{"type":"string","format":"uuid","examples":["4de7ac8b-495b-4884-9a69-1050c6793cd6"],"description":"The unique identifier of the VPC subnet."},"route_uuid":{"type":"string","format":"uuid","examples":["f0e1d2c3-b4a5-6789-0fed-cba987654321"],"description":"The unique identifier of the route."}},"required":["vpc_uuid","subnet_uuid","route_uuid"],"additionalProperties":false},"body":{"$ref":"#/definitions/route_update"}},"required":["path","body"],"additionalProperties":false,"definitions":{"route_update":{"type":"object","required":["target_urns"],"properties":{"target_urns":{"type":"array","items":{"type":"string"},"description":"The URNs of supported next-hop resources. Droplet targets must use a\nnumeric ID in the format `do:droplet:<id>`. VPC NAT Gateway targets use\na UUID in the format `do:nat_gateway:<uuid>`.\n","examples":[["do:droplet:4126873"]]}}}}},"name":"Update a VPC Subnet Route","id":"digitalocean.vpcsubnetroutes_update","example":{"path":{"vpc_uuid":"997615ce-132d-4bae-9270-9ee21b395e5d","subnet_uuid":"4de7ac8b-495b-4884-9a69-1050c6793cd6","route_uuid":"f0e1d2c3-b4a5-6789-0fed-cba987654321"},"body":{"target_urns":["do:droplet:4126873"]}},"maxRequests":1,"summary":false}}