Docs are work in progress
Skip to main content

Enable network

POST 

/api/v1/machines/networks/enable

This API endpoint enables networking for the specified machine using the provided machineId. This action allows the machine to connect to the network and perform network-related operations.

Request

Body

required

The request body containing the required details to enable networking

    machineId stringrequired
    ipv4Address string
    networkId string
    networkKey string

Responses

Success response

Schema

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

    payload

    object

    Schema for network node response

    nodeId string
    ipv4Address string
    ipv6Address string
    networkId string
    createdAt date-time

    networks

    object

    Networks schema

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

    machineData

    object

    Schema for machine data in network node response

    machineId string
    displayIconMediaPath string
    alias string
    name string
    lastActiveAt date-time
Loading...