Altostrat Studio is here — the AI-native network operations IDE for engineers running production. Terminal, diagrams, runbooks, and Copilot in one workspace. Get started →
curl --request PUT \
--url https://v1.api.altostrat.io/vpn/instances/{instanceId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Primary Production VPN (Updated)",
"pushed_routes": [
"10.0.0.0/8"
],
"public_dns": [
"1.1.1.1"
],
"domains": [
"internal.corp"
],
"split_dns": [
"192.168.1.1"
],
"dns_custom": [
{
"name": "fileserver.internal.corp",
"type": "A",
"value": "192.168.1.10"
}
]
}
'{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"name": "Primary Production VPN",
"region": "sjc",
"hostname": "my-vpn-gateway.vpn.altostr.at",
"configured": true,
"rsa_ready": true,
"diffie_hellman_ready": true,
"server_ready": true,
"status": [
"peer-created"
],
"pushed_routes": [
"10.0.0.0/8"
],
"public_dns": [
"9.9.9.9"
],
"split_dns": [
"192.168.1.1"
],
"domains": [
"internal.corp"
],
"dns_custom": [
{
"name": "fileserver.internal.corp",
"type": "A",
"value": "192.168.1.10"
}
],
"firewall": [
{
"name": "Allow ICMP",
"protocol": "icmp",
"port": "1-65535",
"source": "0.0.0.0/0",
"destination": "0.0.0.0/0"
}
],
"created_at": "2025-10-29T12:30:31Z"
}Modifies the configuration of an existing VPN instance, such as its name, DNS settings, or pushed routes.
curl --request PUT \
--url https://v1.api.altostrat.io/vpn/instances/{instanceId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Primary Production VPN (Updated)",
"pushed_routes": [
"10.0.0.0/8"
],
"public_dns": [
"1.1.1.1"
],
"domains": [
"internal.corp"
],
"split_dns": [
"192.168.1.1"
],
"dns_custom": [
{
"name": "fileserver.internal.corp",
"type": "A",
"value": "192.168.1.10"
}
]
}
'{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"name": "Primary Production VPN",
"region": "sjc",
"hostname": "my-vpn-gateway.vpn.altostr.at",
"configured": true,
"rsa_ready": true,
"diffie_hellman_ready": true,
"server_ready": true,
"status": [
"peer-created"
],
"pushed_routes": [
"10.0.0.0/8"
],
"public_dns": [
"9.9.9.9"
],
"split_dns": [
"192.168.1.1"
],
"domains": [
"internal.corp"
],
"dns_custom": [
{
"name": "fileserver.internal.corp",
"type": "A",
"value": "192.168.1.10"
}
],
"firewall": [
{
"name": "Allow ICMP",
"protocol": "icmp",
"port": "1-65535",
"source": "0.0.0.0/0",
"destination": "0.0.0.0/0"
}
],
"created_at": "2025-10-29T12:30:31Z"
}Documentation Index
Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Enter your bearer token in the format: Bearer {token}
The unique identifier (UUID) for the VPN instance.
"d290f1ee-6c54-4b01-90e6-d701748f0851"
A new human-readable name for the instance.
3 - 20"Primary Production VPN (Updated)"
An updated list of network routes (in CIDR notation) to be pushed to clients.
An updated list of public DNS servers for clients.
2 - 4 elementsAn updated list of domain names for split-tunnel DNS.
8An updated list of private DNS servers for split-tunnel DNS.
An updated list of custom DNS records.
Show child attributes
The instance was updated successfully.
The unique identifier for the VPN instance.
"d290f1ee-6c54-4b01-90e6-d701748f0851"
A human-readable name for the instance.
"Primary Production VPN"
The geographical region where the instance is deployed.
"sjc"
The fully qualified domain name (FQDN) of the VPN instance.
"my-vpn-gateway.vpn.altostr.at"
Indicates if the initial server setup has completed.
true
Indicates if the RSA certificates have been generated.
true
Indicates if the Diffie-Hellman parameters have been generated.
true
A general indicator of the server's readiness.
true
An array of strings indicating any ongoing configuration changes. An empty array means the configuration is stable.
["peer-created"]
A list of network routes (in CIDR notation) that will be pushed to connecting clients.
A list of public DNS servers to be used by clients.
A list of private DNS servers for specific domains (split-tunnel DNS).
A list of domain names that should be resolved using the split_dns servers.
A list of custom DNS records to be served by the instance's DNS proxy.
Show child attributes
A list of firewall rules applied to the instance.
Show child attributes
The timestamp when the instance was created.
"2025-10-29T12:30:31Z"
Was this page helpful?