GIS Cloud Suite
deleted
URI
http://{server}:{port}/manager/web/api/service/nodes/deleted
Supported Method
POST
Parent Resource
nodes
Introduction
Delete the service node by API.
Supported Interchange Format: JSON
HTTP Request Method
Execute HTTP request to the URI below. In the URI below, {server}
is the server of gateway, replace it by the actual gateway IP. {port}
is the port of gateway, replace it by the actual gateway port.
http://server:port/manager/web/api/service/nodes/deleted
POST Request
Delete the service node.
The Format of Headers
content-type: application/json
authorization: Bearer {access_token}
Request Params
The necessary parameters to delete the service node:
Name | Type | Explanation |
---|---|---|
nodeName | String[] | The name of the service nodes. If delete multiple service nodes, separate them by the symbol ','. For example, ["Node1","Node2"] |
Response Structure
The returned response would tell whether deleted successful, and provide the error information if failed.
Field | Type | Explanation |
---|---|---|
isSucceed | Boolean | The result of the request. True means succeed, false means failed |
msg | String | If the execution failed, the result would return the error information. The result would be empty if succeed. |
Response Case
Execute POST request for http://192.168.17.139:32507/manager/web/api/service/nodes/deleted
to delete Node0:
//Delete the service node 'Node0'
["Node0"]
The returned response in json format:
{
"isSucceed": true,
"msg": ""
}