Summary
Delete reports
Description
Delete Reports in multiple Golden Config Trees.
Route
POST /golden_config/deleteReports
Roles
admin
engineering
support
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
trees |
array |
yes |
Trees to delete reports from. |
Copied to Clipboard
{
"trees": [
{
"label": "treeArista",
"_id": "f8092a25-b2c2-7c4c-b7d0-edd7925382f4"
},
{
"label": "treeCisco",
"_id": "5354b12e-8fd2-5a3e-246c-b0c041d67e94"
},
{
"label": "treeCisco",
"_id": "159a24b0-a4e7-40ef-9b19-5c8d379f85a9"
},
{
"label": "treeCisco",
"_id": "9207ab39-57a2-9833-a62b-017ab57460ee"
}
]
}
Copied to Clipboard
{
"type": "object",
"properties": {
"trees": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"examples": [
"treeCisco",
"treeJunos",
"treeArista"
]
},
"_id": {
"$ref": "IDType"
}
},
"required": [
"label",
"_id"
]
}
}
},
"required": [
"trees"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
trees |
array |
List of tree names for which reports were deleted |
Copied to Clipboard
[
{
"label": "treeCisco"
},
{
"label": "treeJunos"
},
{
"label": "treeJunos"
},
{
"label": "treeJunos"
}
]
Copied to Clipboard
{
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"examples": [
"treeCisco",
"treeJunos",
"treeArista"
]
}
},
"required": [
"label"
]
}
}