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
- 200
- 400
- 401
- 403
- 500
Post-flip IoT-rule action mode for both rules
Bad request
Unauthorized - Invalid or missing authentication
Forbidden - User does not have permission to access the resource
Internal server error