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": [
"ios0",
"arista0",
"ios0"
],
"tree": "f6c4c61b-b395-d802-06f8-3056d271086f",
"nodeid": "6d9f369c-cf26-9472-9ad8-1b16cb8ab77c"
}
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",
"ios0",
"junos0",
"arista0"
]
Copied to Clipboard
{
"type": "array",
"items": {
"$ref": "deviceNames"
},
"minItems": 1
}