This API will return a new network
| URL | https://api.telecomx.dk/zerotier/network | ||
|---|---|---|---|
| Method | POST | ||
| Access level | MAMAGER or OWNER that belongs to the customer RESELLER, RESELLER_ADMIN for the customer or ADMIN |
||
| Body | name | String | Name of the network. |
| customer | Id | Id of customer, defaults to users own customer. | |
{ name: 'Primary server net', customer: '123456789012345674890ABCD' }
| Field | Type | Description |
|---|---|---|
| _id | String | Id of the network. |
| name | String | Name of network. |
{ _id: '12345678901234567890', name: 'Primary server net', customer: '12345678901234567890ABCD' }
| Error code | Message | Description |
|---|---|---|
| 422 | name | Name is invalid |
| 403 | access_denied | Access denied |
| 500 | internal_error | <Unspecified> |