Delete (Webhook)

URL:
https://<root>/services/<ServiceName>.<ServiceType>/webhooks/<webhookID>/delete
Methods:
POST
Required Capability:
Access allowed with either the "Feature layer" or "Geoprocessing" privileges, or the Publisher role
Version Introduced:
11.1

Description

The delete operation permanently deletes a configured geoprocessing or feature service webhook.

Request parameters

ParameterDetails

f

The response format. The default format is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for the delete operation, deleting an individual geoprocessing service webhook:

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /context/admin/services/myService.GPServer/webhooks/a6a89a71-2cb1-47ff-89d4-46e6425e2908/delete HTTPS/1.1
Host: organization.domain.com
Content-type: application/x-www-form-urlencoded
Content-Length: []

f=pjson&token=m7zGSezM7znt6ZuIwr827imJxOTSDsjYujVdd7SiAQLYG1HmesG8EbSnTwCbiekEh0QwRdmeyp1hP63M60TPrdZQ2NzIg5G7qFaQh40MdiOCfh60-6oPKC2MNoqwdVDZ3srzreVZb66QofWXws8GMrKWkgP45A-2an5crKvReUo-pwvkzm68W87Q0yPJFA2Kww39UnMYNw-5qd2-Bt04VmkrqKI-lCbA-jFZY_UGzeGzNqnBGrjKuVB_q17HogMw

The following is a sample POST request for the delete operation, deleting an individual feature service webhook:

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /context/admin/services/myService.FeatureServer/webhooks/a6a89a71-2cb1-47ff-89d4-46e6425e2908/delete HTTPS/1.1
Host: organization.domain.com
Content-type: application/x-www-form-urlencoded
Content-Length: []

f=pjson&token=m7zGSezM7znt6ZuIwr827imJxOTSDsjYujVdd7SiAQLYG1HmesG8EbSnTwCbiekEh0QwRdmeyp1hP63M60TPrdZQ2NzIg5G7qFaQh40MdiOCfh60-6oPKC2MNoqwdVDZ3srzreVZb66QofWXws8GMrKWkgP45A-2an5crKvReUo-pwvkzm68W87Q0yPJFA2Kww39UnMYNw-5qd2-Bt04VmkrqKI-lCbA-jFZY_UGzeGzNqnBGrjKuVB_q17HogMw

JSON Response example

Use dark colors for code blocksCopy
1
{"status": "success"}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.