PUT
/
api
/
v3
/
sites
/
{site_uuid}
/
smart-charging
curl --request PUT \
  --url https://cloud.volttime.com/api/v3/sites/{site_uuid}/smart-charging \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "timezone": "Asia/Yekaterinburg",
  "smart_charging": "disabled",
  "day_ahead_pricing_strategy": "manual",
  "day_ahead_pricing_threshold": 16,
  "off_peak_start": "14:45",
  "off_peak_end": "14:45"
}'
{
  "data": {
    "timezone": null,
    "smart_charging": "disabled",
    "day_ahead_pricing_strategy": "automatic",
    "day_ahead_pricing_threshold": null,
    "day_ahead_pricing_smart_mode_price": null,
    "off_peak_start": "23:00",
    "off_peak_end": "07:00"
  }
}

Authorizations

Authorization
string
header
required

See the documentation for more information.

Path Parameters

site_uuid
string
required

Body

application/json

Response

200 - application/json

The response is of type object.