Zum Hauptinhalt springen
POST
/
clusters
Create a cluster
curl --request POST \
  --url https://api.ridergy.com/v1/clusters \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "North Campus",
  "locationIds": [
    "3632155",
    "3632156"
  ],
  "limitKw": 200
}
'
{
  "clusterId": "clst_20260612_a1b2c3d4",
  "tenantUuid": "<string>",
  "name": "North Campus",
  "locationIds": [
    "3632155",
    "3632156"
  ],
  "limitKw": 200,
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Autorisierungen

x-api-key
string
header
erforderlich

Mandanten-spezifischer API-Schlüssel. Der Mandant wird aus dem Schlüssel abgeleitet — nie aus dem Request.

Body

application/json
name
string
erforderlich
Beispiel:

"North Campus"

locationIds
string[]
erforderlich
Minimum array length: 1
Beispiel:
["3632155", "3632156"]
limitKw
number<float> | null

Optionales clusterweites kW-Cap.

Beispiel:

200

Antwort

Cluster erstellt

clusterId
string
Beispiel:

"clst_20260612_a1b2c3d4"

tenantUuid
string
name
string
Beispiel:

"North Campus"

locationIds
string[]
Beispiel:
["3632155", "3632156"]
limitKw
number | null
Beispiel:

200

status
enum<string>
Verfügbare Optionen:
ACTIVE,
INACTIVE
createdAt
string<date-time>
updatedAt
string<date-time>