Create a network

Preview. A private network of the sandboxes of the API key's workspace. Its members reach each other on each port over IPv6, by the name <hostname>.<network>.internal, and nothing else reaches them through it.

POST
/networks

Authorization

headerAuthorizationBearer <token>

Your Munito API key.

Request Body

application/json
  1. body
name*string

A DNS label, unique in the workspace: 1 to 63 lower case letters, digits and hyphens. The names of the members end in .<name>.internal.

Response Body

The network, with no member.

application/json
  1. response

A private network of the sandboxes of a workspace: its members reach each other on each port, and nothing else reaches them through it.

id*string
object?string
Default"network"
name*string
created_at*integer

Unix seconds.

members?array<>

The sandboxes in the network that run or start.

curl -X POST 'https://api.munito.ai/sandboxes/v1/networks' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string"
}'
Example Response
{
  "id": "string",
  "object": "network",
  "name": "string",
  "created_at": 0,
  "members": [
    {
      "sandbox_id": "string",
      "dns_name": "string",
      "address": "string"
    }
  ]
}