PATCH
Atualizar sensor

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sensor_id
string
required

UUID do sensor no Meters Service.

Body

application/json
name
string
wallet_address
string
location
string

Response

Sensor atualizado.

id
string<uuid>
device_id
string | null
name
string
public_key
string
wallet_address
string
Example:

"0x70997970C51812dc3A010C7d01b50e0d17dc79C8"

status
enum<string>
Available options:
active,
inactive,
blocked
location
string
last_communication_at
string<date-time> | null
created_at
string<date-time>