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": "treeJunos",
"_id": "60107c49-bc91-f192-3a41-b3febd5c5a71"
},
{
"label": "treeJunos",
"_id": "348c40a3-5e38-42e1-c676-01c73b93a837"
},
{
"label": "treeCisco",
"_id": "99d6395c-bd06-367f-6d72-4664ca0cbcee"
},
{
"label": "treeArista",
"_id": "f93b1d99-1db8-96b7-c769-4c6c5a2ad867"
},
{
"label": "treeArista",
"_id": "994cbdf9-9b9e-6fe1-63c4-423037cb9752"
}
]
}
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": "treeArista"
}
]
Copied to Clipboard
{
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"examples": [
"treeCisco",
"treeJunos",
"treeArista"
]
}
},
"required": [
"label"
]
}
}