Skip to main content

Change Subnet

PUT 

/backend/api/openstack/subnets/:subnet_id

Host: https://core.ocplanet.cloud

Change a specific subnet associated with the user's VPS identified by ID.

Request

Body

    allocation_pools object[]required
  • Array [
  • end stringrequired
    start stringrequired
  • ]
  • cidr stringrequired
    id uuid
    dns_nameservers objects[]
  • Array [
  • ip required
  • ]
  • host_routes array
    network_mask integer
    ipv6_ra_mode nullstring
    ipv6_address_mode nullstring
    enable_dhcp booleanrequired
    gateway_ip stringrequired
    ip_version integerrequired
    name stringrequired
    network_address_source stringrequired
    network_id stringrequired
    setGatewayIp stringrequired

Responses

Schema
    id uuidrequired
    allocation_pools arrayrequired
    cidr stringrequired
    dns_nameservers arrayrequired
    host_routes arrayrequired
    gateway_ip nullrequired
    name stringrequired
    description nullrequired
    subnetpool_id nullrequired
    ip_version integerrequired
    enable_dhcp booleanrequired
    created_at nullrequired
    updated_at nullrequired
    project uuidrequired
    sync_version integerrequired
    extra stringrequired
    network stringrequired
Loading...