Decision Management (ODM,ADS)

 View Only
  • 1.  how to programatically delete a Decision Service

    Posted Thu December 22, 2022 01:00 AM

    Hello, how do we delete this "Sample" decision service programatically?

    is there a API we can call? we tried to use the below API to delete the main branch but we saw this error,

    {
      "error": "IlrPermissionException",
      "reason": "Insufficient privileges to perform this action.",
      "status": "FORBIDDEN",
      "ref": null,
      "errorCode": null,
      "details": [
        "Insufficient privileges to perform this action."
      ]
    }








    ------------------------------
    Kian Seng Goh
    ------------------------------


  • 2.  RE: how to programatically delete a Decision Service

    Posted Fri January 20, 2023 05:17 PM

    You cannot delete the main branch, this is the reference branch and it must stay. If you want to delete the entire service  you have to delete the project. 

    There is no REST API to delete a project, it can only be done as you show in the UI. 

    If you think this is something that should be added to the product you can file an enhancement here: https://ideas.ibm.com/new-idea 

    Use the product Automation Decision Service 



    ------------------------------
    Alain Robert
    ------------------------------



  • 3.  RE: how to programatically delete a Decision Service

    Posted Tue January 24, 2023 03:39 AM
    Edited by Philippe Guerin Mon January 30, 2023 12:43 PM
    Hello, as a side note, this REST API to delete a Decision Service might indeed be a good candidate for a future release

    ------------------------------
    Philippe Guerin
    Technical Lead - ODM Decision Center
    IBM
    Rennes
    0607871993
    ------------------------------