Update a meter property variable; its values are changed through the values endpoint
Requires the METER_PROPERTY_VARIABLE.UPDATE permission.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
version
resourceIdOrReference
The ID or reference of the resource.
Headers
x-platform-id
Platform ID.
Request
This endpoint expects an object.
reference
name
description
meter_property_id
The meter property whose values this variable lists. Set on create only.
meter_property_reference
Alternative to meter_property_id on create.
type
Allowed values:
status
Allowed values:
values
The initial values, on create only. Edit them afterwards through the values endpoint.
Response
OK
object_type
id
reference
name
description
meter_property_id
The meter property whose values this variable lists. Set on create only.
type
Allowed values:
status
Allowed values:
value_count
created_at
updated_at
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error