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": "df819092-aeb9-599c-ff0f-b9e1e846517e"
},
{
"label": "treeJunos",
"_id": "4c088df4-c6bf-db56-fa89-62b3575ef939"
},
{
"label": "treeArista",
"_id": "7d093754-6ce1-4327-5ae7-12dcadcc795b"
},
{
"label": "treeCisco",
"_id": "1cf328dc-d700-787a-0b47-12b3d62480fa"
}
]
}
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": "treeJunos"
},
{
"label": "treeCisco"
}
]
Copied to Clipboard
{
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"examples": [
"treeCisco",
"treeJunos",
"treeArista"
]
}
},
"required": [
"label"
]
}
}