Summary
Update a devices
Description
Update devices attached to the leaf.
Route
POST /golden_config/updateDevices
Roles
admin
engineering
support
Parameters
DetailsExampleSchema
| Name |
Type |
Required |
Description |
| devices |
array |
yes |
Device names. |
| tree |
string |
yes |
Tree's ID. |
| nodeid |
string |
yes |
Node's ID. |
Copied to Clipboard
{
"devices": [
"arista0",
"junos0",
"arista0",
"ios0"
],
"tree": "63ca4d15-fe9f-5af4-3253-8b306ff11ca6",
"nodeid": "6c911a98-128a-a1e1-e192-dbbb6da991d1"
}
Copied to Clipboard
{
"type": "object",
"properties": {
"devices": {
"type": "array",
"items": {
"$ref": "deviceNames"
},
"minItems": 1
},
"tree": {
"$ref": "IDType"
},
"nodeid": {
"$ref": "IDType"
}
},
"required": [
"devices",
"tree",
"nodeid"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| data |
array |
New/updated devices. |
Copied to Clipboard
[
"iosxr0",
"arista0",
"ios0",
"junos0"
]
Copied to Clipboard
{
"type": "array",
"items": {
"$ref": "deviceNames"
},
"minItems": 1
}