Description
Request URL
Network API v2.0 POST /v2.0/networks
Request Paramters
| Parameter | Value | Style | Description |
|---|---|---|---|
| X-Auth-Token | User Token | header |
Request Json
Normal response codes
201
Example
curl -i -X POST \ -H "Accept: application/json" \ -H "X-Auth-Token: 0925897a3d4543218ff0dcd2bb378a8e" \ https://networking.tyo1.cloud.z.com/v2.0/networks
HTTP/1.1 201 Created
Server: openresty/1.7.10.1
Date: Fri, 08 May 2015 11:58:12 GMT
Content-Type: application/json
Content-Length: 224
Connection: keep-alive
{
"network": {
"status": "ACTIVE",
"subnets": [],
"name": "local-gnct75294078-1",
"router:external": false,
"tenant_id": "22394afc818d471ca2f0308c06ae7460",
"admin_state_up": true,
"shared": false,
"id": "df980e5d-dc69-4744-a13b-98731565b4ab"
}
}