POST
/
instances
curl --request POST \
  --url https://api.altostrat.io/instances \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "hostname": "<string>",
  "region": "<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.

Body

application/json

Instance payload data

The body is of type object.

Response

201
application/json

Instance created successfully

The response is of type object.