node
Creates or updates the active operational dataset
Creates or updates the the active operational dataset on the current node. Only allowed if the Thread node is inactive. If the Thread node is active, a pending dataset should be used to update the current active operational dataset.
put/node/dataset/active
Request body
Example request
{
"activeTimestamp": {
"seconds": 10
},
"networkKey": "08277229F21FB7342D705D3CEFDC042A",
"networkName": "OpenThread-e445",
"extPanId": "996D3BEE320097A3",
"meshLocalPrefix": "fd33:d3b9:89e3:72e4::/64",
"panId": 58437,
"channel": 21,
"pskc": "FD943ECA225A28979B991EFAC1218A72",
"securityPolicy": {
"rotationTime": 672,
"obtainNetworkKey": true,
"nativeCommissioning": true,
"routers": true,
"externalCommissioning": true
},
"channelMask": 134215680
}Response
Successfully updated the active operational dataset.