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",
"junos0",
"iosxr0"
],
"tree": "f5f5783b-d844-330d-34e2-c07d16e9df5f",
"nodeid": "94113354-43e4-daee-f55b-69e535db0cd2"
}
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",
"junos0",
"arista0",
"ios0"
]
Copied to Clipboard
{
"type": "array",
"items": {
"$ref": "deviceNames"
},
"minItems": 1
}