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 ID. |
| data |
object |
yes |
Golden Config Tree's data. |
Copied to Clipboard
{
"data": {
"id": "76356f2f-938d-7fd7-8aa0-07dc0cc469a7",
"label": "SiFZ",
"type": "junos",
"workflow": "bHYVNGkp",
"created_by": "vU",
"created": "2018-03-30T14:00:52.168Z",
"last_updated_by": "WKoSmmSwUD",
"last_updated": "2019-04-30T14:00:52.168Z",
"devices": "junos0",
"version": 0
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"data": {
"type": "object",
"$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"
]
}