TUN-9171: Use is_default_network instead of is_default to create vnet's

## Summary
The is_default field in the request body of the POST /virtual_networks endpoint has been
deprecated and should no longer be used. Clients should use the `is_default_network` field
instead for setting the default virtual network.

Closes TUN-9171
This commit is contained in:
João "Pisco" Fernandes 2025-06-05 15:02:21 +00:00
parent a62d63d49d
commit e144eac2af

View File

@ -16,7 +16,7 @@ import (
type NewVirtualNetwork struct { type NewVirtualNetwork struct {
Name string `json:"name"` Name string `json:"name"`
Comment string `json:"comment"` Comment string `json:"comment"`
IsDefault bool `json:"is_default"` IsDefault bool `json:"is_default_network"`
} }
type VirtualNetwork struct { type VirtualNetwork struct {