Table of Contents

API : ZeroTier : Create network

Introduction

This API will return a new network

Request

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.

Query example

{
  name: 'Primary server net',
  customer: '123456789012345674890ABCD'
}

Response

Field Type Description
_id String Id of the network.
name String Name of network.

Example

{
  _id: '12345678901234567890',
  name: 'Primary server net',
  customer: '12345678901234567890ABCD'
}

Errors

Error code Message Description
422 name Name is invalid
403 access_denied Access denied
500 internal_error <Unspecified>