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": "treeCisco",
"_id": "4b837eac-a3f5-e2a4-fc63-da814d6ba442"
},
{
"label": "treeCisco",
"_id": "ffbd19f9-4fe8-63d8-e2cd-1d52187cd5e8"
},
{
"label": "treeArista",
"_id": "f48542b8-7022-e9d5-3eff-f52f0c3a7cc6"
}
]
}
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": "treeCisco"
},
{
"label": "treeJunos"
}
]
Copied to Clipboard
{
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"examples": [
"treeCisco",
"treeJunos",
"treeArista"
]
}
},
"required": [
"label"
]
}
}