PUT
/
instances
/
{instance}
curl --request PUT \
  --url https://api.altostrat.io/instances/{instance} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "pushed_routes": [
    "<string>"
  ],
  "public_dns": [
    "127.0.0.1"
  ],
  "domains": [
    "<string>"
  ],
  "split_dns": [
    "<string>"
  ],
  "firewall": [
    {}
  ],
  "dns_custom": [
    {
      "name": "<string>",
      "type": "A",
      "value": "<string>"
    }
  ]
}'
{
  "id": "<string>",
  "name": "<string>",
  "region": "<string>",
  "hostname": "<string>",
  "configured": true,
  "rsa_ready": true,
  "diffie_hellman_ready": true,
  "server_ready": true,
  "status": [
    "<any>"
  ],
  "pushed_routes": [
    "<string>"
  ],
  "public_dns": [
    "127.0.0.1"
  ],
  "split_dns": [
    "<string>"
  ],
  "domains": [
    "<string>"
  ],
  "dns_custom": [
    {
      "name": "<string>",
      "type": "A",
      "value": "<string>"
    }
  ],
  "firewall": [
    {}
  ],
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

instance
string
required

UUID of the instance to update

Body

application/json

Instance update data

The body is of type object.

Response

200
application/json

Instance updated successfully

The response is of type object.