Skip to main content
PATCH
/
v1
/
devices
/
pv
/
settings
curl --request PATCH \
  --url https://api.nox.energy/v1/devices/pv/settings \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "user_id": "user456",
  "device_id": "device123",
  "optimization_settings": {
    "pv_curtailment_mode": "managed"
  },
  "location": {
    "country": "NL",
    "postal_code": "1234AB"
  }
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.nox.energy/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

API Key authentication. Enter your API key in the format: YOUR_API_KEY

Body

application/json
user_id
string
required

User ID to update settings for

device_id
string | null

Device ID to update settings for

optimization_settings
OptimizationSettings · object

Optimization settings for the device

location
LocationSettings · object

Location-related settings

Response

No Content - Settings updated successfully