Use this REST request to remove a running or a stopped ESP project. This REST request is a POST type request.
http://serverDetails/espws/restservice/project/<projectName>?action=remove&workspace=<workspaceName>
Element | Description |
---|---|
connectionDetails |
(Required) Element containing cluster, port, and authentication details below. |
clusterName |
Type: string (Required) The name of the cluster on which the project that you wish to update is running. |
port |
Type: integer (Required) Specify the port on which the cluster is running. |
authentication |
(Required) Element containing authentication details. |
type |
Type: string (Required) Specify the type of authentication the ESP Server is using. Valid values are user, rsa, and kerberos. |
data |
Type: string (Required) Specify a value based on the type of authentication
you specified in the type element. For
example,
|
sslEnabled |
Type: boolean (Required) Specify whether SSL is enabled on the cluster on which the project is running. The default value is false. |
http://<server>:<port>/espws/restservice/project/<projectName>?action=remove&workspace=<workspaceName>Body
{ "connectionDetails": { "clusterName":"<cluster name>", "port":"<port>", "authentication": { "type":"user", "data":"<username>:<password>", "sslEnabled":"false" } } }