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": "2254611e-b63c-2d05-81cc-6346c5fe3877"
},
{
"label": "treeCisco",
"_id": "d364f208-0b3a-9be5-9494-87a92c5ca9e9"
},
{
"label": "treeCisco",
"_id": "b1c38fc1-a485-034b-b50d-7eeedbeec092"
},
{
"label": "treeJunos",
"_id": "f9a30027-3471-393e-ad04-4d856bc8b124"
},
{
"label": "treeCisco",
"_id": "93b2a4fb-5680-1b93-a656-2f8e51079495"
}
]
}
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": "treeArista"
},
{
"label": "treeArista"
},
{
"label": "treeJunos"
},
{
"label": "treeCisco"
}
]
Copied to Clipboard
{
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"examples": [
"treeCisco",
"treeJunos",
"treeArista"
]
}
},
"required": [
"label"
]
}
}