datacenters

Fetch a datacenter by ID.

Changed on
get/datacenters/{id}

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/datacenters/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

cpu_overcommit_rationumber double required

Default vCPU sold per physical core, stamped onto hypervisors as they are discovered here. 1.0 is no overcommit. Changing it does not re-rate existing hypervisors.

created_atstring date-time required
has_tokenboolean required

Whether a Proxmox API token is configured (the token itself is never returned).

idstring required
insecure_skip_verifyboolean required

Whether TLS verification is disabled for this cluster (self-signed certs).

namestring required
updated_atstring date-time required
urlstring required

Example response

{
  "$schema": "/api/v1/schemas/DatacenterView.json"
}

Changes