Nodes
`PUT /internal/nodes/{node_id}/network/wireguard`
Called by the node's own agent. Stores its mesh public key and endpoint, assigns a mesh address on first call, makes that address the node's overlay underlay, and allocates the node's compute CIDR if the join could not (a node that registered with a public address has no private underlay until now).
put/internal/nodes/{node_id}/network/wireguard
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/internal/nodes/{node_id}/network/wireguard
- Auth: none declared
Path parameters
node_idinteger required
Node id, must match the bearer token's node
Request body
Response
Mesh address and port for this node