PUT
/
v1
/
entities
/
{entityId}
/
battery-capacity
curl --request PUT \
  --url https://platform.realto.io/api/v1/entities/{entityId}/battery-capacity \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "batteryCapacity": 123
}'
{
  "batteryCapacity": 123
}

Authorizations

Authorization
string
header
required

Access Token Authentication

Path Parameters

entityId
string
required

The id of the Entity

Body

The battery capacity
batteryCapacity
number
required

Response

200
application/json
OK
batteryCapacity
number
required