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": [
"junos0",
"junos0",
"iosxr0",
"ios0",
"ios0"
],
"tree": "360179cb-8e1b-c977-b57b-528d322f27ea",
"nodeid": "c627ec9e-476a-1ae2-4282-23c13c7f9476"
}
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
[
"ios0",
"ios0",
"arista0",
"arista0",
"ios0"
]
Copied to Clipboard
{
"type": "array",
"items": {
"$ref": "deviceNames"
},
"minItems": 1
}