Zum Hauptinhalt springen
PUT
/
locations
/
{locationId}
/
limit
Set a location's permanent (fallback) limit
curl --request PUT \
  --url https://api.ridergy.com/v1/locations/{locationId}/limit \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "limitKw": 100
}'
{
  "locationId": "3632155",
  "permanentLimitKw": 100,
  "effectiveLimitKw": 100
}

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

locationId
string
erforderlich

Body

application/json
limitKw
number<float>
erforderlich
Beispiel:

100

Antwort

Permanentes Limit aktualisiert

locationId
string
Beispiel:

"3632155"

permanentLimitKw
number
Beispiel:

100

effectiveLimitKw
number | null
Beispiel:

100