Meters

Set Switch State

PUT
/orgs/{organizationId}/meters/{meterId}/switch

Sets the switch state of a meter.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

meterId*string

Request Body

application/json
  1. body
state*boolean

Response Body

OK

application/json
  1. response
curl -X PUT 'https://api.tillor.eu/orgs/string/meters/string/switch' \  -H 'Content-Type: application/json' \  -d '{  "state": true}'
null