Summary
          Delete trees
          Description
          Delete multiple Golden Config Trees.
          Route
          POST /golden_config/deleteTrees
          Roles
          
            admin
engineering
support
          
          Parameters
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Required | Description | 
            
            
              
    | trees | array | yes | List of trees to delete. | 
            
          
          
            Copied to Clipboard
            
            {
  "trees": [
    {
      "label": "treeJunos",
      "_id": "84eab280-bc9b-06fe-4cc2-ba7966e80e43"
    },
    {
      "label": "treeJunos",
      "_id": "a7a3114f-9e33-4cad-25b7-80cdf7acbb30"
    },
    {
      "label": "treeJunos",
      "_id": "f4aee6b9-655a-4b7b-c034-c447a1e49efe"
    },
    {
      "label": "treeCisco",
      "_id": "4839ae99-4907-c2cc-c6da-96e9c71923f0"
    }
  ]
}
           
          
            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 that were deleted | 
            
          
          
            Copied to Clipboard
            
            [
  {
    "label": "treeJunos",
    "_id": "SUCCESS"
  },
  {
    "label": "treeJunos",
    "_id": "SUCCESS"
  }
]
           
          
            Copied to Clipboard
            
            {
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "label": {
        "type": "string",
        "examples": [
          "treeCisco",
          "treeJunos",
          "treeArista"
        ]
      },
      "_id": {
        "type": "string",
        "enum": [
          "SUCCESS"
        ]
      }
    },
    "required": [
      "label",
      "status"
    ]
  }
}