Summary
Save tree
Description
Modify and update a Golden Config Tree.
Route
POST /golden_config/gc/:tree
Roles
admin
engineering
support
Parameters
DetailsExampleSchema
| Name |
Type |
Required |
Description |
| tree |
string |
yes |
Tree's ID. |
| data |
object |
yes |
Golden Config Tree's data. |
Copied to Clipboard
{
"data": {
"id": "44c1993e-6bfd-3531-62d9-8e4fa139d6c0",
"label": "KWBk",
"type": "cisco-iosxr",
"workflow": "nfFoPqCIUX",
"created_by": "JlpWLNExn",
"created": "2017-02-30T14:00:52.168Z",
"last_updated_by": "T",
"last_updated": "2017-02-30T14:00:52.168Z",
"devices": "junos0",
"version": 2
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"data": {
"$ref": "goldenConfigDocument"
}
},
"required": [
"data"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| data |
string |
Status of update. |
Copied to Clipboard
"success"
Copied to Clipboard
{
"type": "string",
"examples": [
"success"
]
}