Saltar al contenido 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
}

Autorizaciones

x-api-key
string
header
requerido

Clave de API por tenant. El tenant se deriva de la clave — nunca de la solicitud.

Parámetros de ruta

locationId
string
requerido

Cuerpo

application/json
limitKw
number<float>
requerido
Ejemplo:

100

Respuesta

Límite permanente actualizado

locationId
string
Ejemplo:

"3632155"

permanentLimitKw
number
Ejemplo:

100

effectiveLimitKw
number | null
Ejemplo:

100