/devices/{deviceId}/io/ports/{portId}

Update the port configuration. Allowed properties depends on the port type.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
string
required
Body Params
boolean

If the port is not enabled, no events will be created, and the icon will not show up in the live stream.

string
length between 1 and 126

Human changeable name of the port, defaults to value of the id field.

string
enum

Indicates the normal, inactive or idle, state of the connected circuit. Possible values:

  • open: means the port is "off" when in idle state (open circuit; has no voltage), and the port state being active means it is turned "on" (circuit is closed; has voltage).
  • closed: means the port is "on" when in idle state (closed circuit; has voltage), and the port state being active means it is turned "off" (open circuit; has no voltage).
Allowed:
rules
object
Responses
204

Port Updated

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json