Skip to main content
GET
/
servers
/
{server_id}
/
deploy_config
Python (SDK)
from latitudesh_python_sdk import Latitudesh
import os


with Latitudesh(
    bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:

    res = latitudesh.servers.get_deploy_config(server_id="sv_pRMLydp0dQKr1")

    # Handle response
    print(res)
{
  "data": {
    "id": "sv_VLMmAD8EOwop2",
    "type": "deploy_config",
    "attributes": {
      "ssh_keys": [
        "ssh_6059EqYkOQj8p"
      ],
      "user_data": "ud_zGr47qlMDAg0m",
      "raid": "raid-1",
      "operating_system": "debian_10",
      "hostname": "Solarbreeze",
      "ipxe_url": null,
      "ipxe": null,
      "partitions": [
        {
          "path": "/",
          "size_in_gb": 300,
          "filesystem_type": "ext4"
        }
      ]
    }
  },
  "meta": {}
}

Authorizations

Authorization
string
header
required

Path Parameters

server_id
string
required

The Server ID

Response

200 - application/vnd.api+json

Success

data
object
I