- URL:https://<service-url>/delete(POST only)
- Required Capability:Default administrator role | All authorized privileges
- Version Introduced:10.1
Description
This operation deletes a service. When a service is deleted the service is stopped and all resources and configurations associated with the service are deleted.
Request parameters
Parameter | Description |
---|---|
f | The response format. The default response format is html. Values: html | json | pjson |
Example usage
Below is a sample POST request for delete:
POST /webadaptor/admin/services/Map/testMap.MapServer/delete HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
f=json
JSON Response example
{"status": "success"}