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",
"ios0",
"junos0",
"arista0"
],
"tree": "1e9678d7-e74d-4e4e-767e-597480381d04",
"nodeid": "19e34668-fd8c-220f-9851-96bc0ef329bb"
}
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
[
"junos0",
"iosxr0",
"iosxr0"
]
Copied to Clipboard
{
"type": "array",
"items": {
"$ref": "deviceNames"
},
"minItems": 1
}