Passer au contenu principal
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
}

Autorisations

x-api-key
string
header
requis

Clé API par tenant. Le tenant est déterminé à partir de la clé — jamais à partir de la requête.

Paramètres de chemin

locationId
string
requis

Corps

application/json
limitKw
number<float>
requis
Exemple:

100

Réponse

Limite permanente mise à jour

locationId
string
Exemple:

"3632155"

permanentLimitKw
number
Exemple:

100

effectiveLimitKw
number | null
Exemple:

100