edge-controller
Set root rule chain for provided edge (setEdgeRootRuleChain)
Change root rule chain of the edge to the new provided rule chain. This operation will send a notification to update root rule chain on remote edge service.
Available for users with 'TENANT_ADMIN' authority.
post/api/edge/{edgeId}/{ruleChainId}/root
Path parameters
edgeIdstring required
A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
ruleChainIdstring required
A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
Response
OK
Example response
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "EDGE"
},
"createdTime": 1609459200000,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"customerId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "CUSTOMER"
},
"rootRuleChainId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "RULE_CHAIN"
},
"name": "Silo_A_Edge",
"type": "Silos",
"label": "Silo Edge on far field",
"additionalInfo": {}
}