Skip to main content
PATCH
/
api
/
partners
/
v2.0
/
org
/
{org_id}
/
users
/
{user_id}
/
devices
/
{device_id}
Update general device attributes
curl --request PATCH \
  --url https://api.example.com/api/partners/v2.0/org/{org_id}/users/{user_id}/devices/{device_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "is_smart_optimization_active": true,
  "is_authenticated": true,
  "is_inverter_forced_mode_enabled": true,
  "is_forecasting_enabled": true,
  "comment": "<string>"
}
'

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

org_id
string<uuid>
required

The organization ID of the user's organization

user_id
string<uuid>
required

The user ID of the user whom the device belongs to

device_id
string<uuid>
required

The ID of the device to be updated

Body

application/json
is_smart_optimization_active
boolean | null
is_authenticated
boolean | null
is_inverter_forced_mode_enabled
boolean | null
is_forecasting_enabled
boolean | null
comment
string | null

Response

200

OK