Skip to main content

Flip the IoT-rule action mode for event-handler lambdas

PUT 

/v1/admin/iot-event-mode

Replaces the action on node_disconnected_rule and node_to_cloud_rule with either the Lambda-direct action or the SQS action. Both rules flip together in one call. The change takes effect immediately and does not require a redeploy. SQL, SQL version, description, disabled flag, and error_action on each rule are preserved across the flip. Only super admin users can access this endpoint.

Request

Responses

Post-flip IoT-rule action mode for both rules