Decision Management & Intelligence (ODM, DI)

Decision Management & Intelligence (ODM, DI)

Connect with experts and peers to elevate technical expertise, solve problems and share insights


#Data
#Data
#Businessautomation
#DecisionManagement
 View Only
  • 1.  how to programatically delete a Decision Service

    Posted 12/22/22 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 01/20/23 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 01/24/23 03:39 AM
    Edited by Philippe Guerin 01/30/23 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
    ------------------------------