Change the settings for the given relay output

Change the settings for the given relay output

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

ID of the device.

integer
required

ID of the output.

Body Params

New settings to be applied to the relay output. Only the settings included in the object will be updated, settings that are not present will remain unchanged.

string
length between 1 and 64

a name that can be set by the user to make it easier to identify the digital input.

string
enum

Bistable - After setting the state, the relay remains in this state. The value of 'delayTime' field is ignored.
Monostable - After setting the state, the relay returns to its idle state after the specified time defined by the 'delayTime' field present in the 'RelayOutputSettings'.
The 'delayTime' field has to be specified when the mode is Monostable.

Allowed:
int64

Time (in seconds) after which the relay returns to its idle state if it is in monostable mode. When in bistable mode, this value doesn't need to be specified as it will be ignored.

string
enum

Defines the relationship between the electric state and the logical state. 'open' means that the relay is open when the relay state is set to 'inactive' through the trigger command and closed when the state is set to 'active' through the same command. 'closed' means that the relay is closed when the relay state is set to 'inactive' through the trigger command and open when the state is set to 'active' through the same command.

Allowed:
Responses
204

OK

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