- URL:https://<jobs-url>/purgeQueue(POST only)
- Required Capability:Default administrator role
- Version Introduced:10.6.1
Description
This operation cancels all asynchronous jobs for the geoprocessing service that currently carry a status of NEW, SUBMITTED, or WAITING.
Request parameters
Parameter | Details |
---|---|
f | The response format. The default response format is html. Values: html | json | pjson |
Response properties
Property | Details |
---|---|
status | Indicates if the operation was successful or failed. Values: success | failed |
Example usage
Below is a sample POST request for purgeQueue:
POST /webadaptor/admin/services/Maps/testMap.MapServer/jobs/purgeQueue HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
f=json
JSON Response example
{"status": "success"}