{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To add a static route to a VPC subnet, send a POST request to\n`/v2/vpcs/$VPC_UUID/subnets/$SUBNET_UUID/routes`. This route is additional\nto the routes the VPC already propagates to the subnet. The server assigns\nthe route's `id` and `type`.\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."}},"required":["vpc_uuid","subnet_uuid"],"additionalProperties":false},"body":{"$ref":"#/definitions/route_create"}},"required":["path","body"],"additionalProperties":false,"definitions":{"route_create":{"type":"object","required":["destination_cidr","target_urns"],"properties":{"destination_cidr":{"type":"string","description":"A valid IPv4 CIDR accepted by the VPC routing product.","examples":["0.0.0.0/0"]},"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":"Create a VPC Subnet Route","id":"digitalocean.vpcsubnetroutes_create","example":{"path":{"vpc_uuid":"997615ce-132d-4bae-9270-9ee21b395e5d","subnet_uuid":"4de7ac8b-495b-4884-9a69-1050c6793cd6"},"body":{"destination_cidr":"0.0.0.0/0","target_urns":["do:droplet:4126873"]}},"maxRequests":1,"summary":false}}