Skip to main content
PUT
Connect a mesh

Authorizations

Authorization
string
header
required

An API key (zode_tok_...). Create one in the console under API keys (https://console.zode.dev/tokens), or with zode login.

Path Parameters

id
string
required
Pattern: ^env_[a-z2-7]{16}$

Body

application/json
provider
enum<string>
required
Available options:
tailscale,
headscale,
netbird
control_url
string
Example:

"https://headscale.example.com"

auth_key
string
write-only
oauth_client_id
string
oauth_client_secret
string
write-only
setup_key
string
write-only
api_token
string
write-only

Response

Connected; routers are coming up

connected
boolean
provider
string
cidr
string
setup
object