skip to main content
Corticon Server: Integration & Deployment Guide : Corticon API reference : REST Management API : Summary of REST methods for management of Decision Services : API Undeploy Decision Service
 

Try Corticon Now
API Undeploy Decision Service
<base>/decisionService/undeploy
HTTP POST
Attempts to remove the specified Decision Service from the server, and to delete the EDS file associated with it. The request takes HTTP headers that provide the Decision Service name, and, optionally, the Major and Minor version numbers. The format for the request headers is as shown:
name : <The name of the Decision Service we are trying to remove>,
majorVersion : <The major version of the Decision Service we are trying to remove.
This field is optional but required if minorVersion is used>,
minorVersion : <The minor version of the Decision Service we are trying to remove.
This field is optional>
Responses are formatted as shown:
{
"error" : <This object will only be here if the response is not "OK">
}
Success status codes:
*200 OK
Error status codes:
*400 Bad Request
*500 Internal Server Error