Zum Hauptinhalt springen
PATCH
/
clusters
/
{clusterId}
Update a cluster
curl --request PATCH \
  --url https://api.ridergy.com/v1/clusters/{clusterId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "limitKw": 250
}'
{
  "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.

Pfadparameter

clusterId
string
erforderlich

Body

application/json
name
string
Beispiel:

"North Campus"

limitKw
number | null

Auf null setzen, um das Cluster-Cap zu entfernen.

Beispiel:

250

locationIds
string[]
Minimum array length: 1
status
enum<string>
Verfügbare Optionen:
ACTIVE,
INACTIVE

Antwort

Aktualisierter Cluster

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>