Docs are work in progress
Skip to main content

Add network

POST 

/api/v1/networks

This API endpoint add a network to an account. You can specify details during the addition process, including a network key managed by Mecha or providing your own key.

Request

Body

required

The request body containing the required details to add network

    ipSubnet stringrequired

    Allowed with CIDR /24

    networkName stringrequired
    networkKey string
    isDefault boolean
    isNetworkKeyManaged boolean

Responses

Success response

Schema

    success boolean
    message string
    status string
    statusCode int32
    errorCode string
    subErrors object[]

    payload

    object

    Networks schema

    networkId string
    provider string
    ipSubnet string
    networkName string
    isDefault boolean
    isNetworkKeyManaged boolean
Loading...