APIs

deleted

URI

http://{server}:{port}/imanager/dashboard/web/api/appset/deleted

Supported Methods

POST

Parent Resource

appset

Introduction

Delete GIS environments by API, you can delete GIS Server, GIS Portal, GIS Desktop, GIS Tiling Cluster, GIS Site, GIS Cloud Suite, GIS Big Data, Data Science Service, and Database environments.

Supported representation format: JSON.

HTTP Request Method

An HTTP request is performed on the following URI. Here we take JSON output format for illustration. {server} is the server IP of iManager, you need to replace it by the actual server IP; {port} is the port number of iManager, you need to replace it by the actual port.

http://{server}:{port}/imanager/dashboard/web/api/appset/deleted

POST Request

Delete the GIS environments.

Response Params

The ID of GIS environments

Name Type Explanation
id String[] The environment ID

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:31100/imanager/dashboard/web/api/appset/deleted to delete GIS Server:

["29"]

The returned response in json format:

{
    "isSucceed":true,
    "msg":""
}