Vai al contenuto principale
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
}

Autorizzazioni

x-api-key
string
header
obbligatorio

Chiave API per-tenant. Il tenant viene derivato dalla chiave — mai dalla richiesta.

Parametri del percorso

locationId
string
obbligatorio

Corpo

application/json
limitKw
number<float>
obbligatorio
Esempio:

100

Risposta

Limite permanente aggiornato

locationId
string
Esempio:

"3632155"

permanentLimitKw
number
Esempio:

100

effectiveLimitKw
number | null
Esempio:

100