11.3. Methods

11.3.1. Creating a Network Resource

Creation of a new network requires the name and datacenter elements.

Example 11.2. Creating a network resource

POST /api/networks HTTP/1.1
Accept: application/xml
Content-type: application/xml

<network>
    <name>network 1</name>
    <data_center id="01a45ff0-915a-11e0-8b87-5254004ac988"/>
</network>