Skip to content
URL:
https://<WebHooks-url>/reassignOwner
Methods:
POST
Version Introduced:
June, 2020

Description

The reassignOwner operation allows a owner/admin to reassign a webhook within the organization to themselves.

Request parameters

PropertyDetails
ownerFrom

This property is used to change the owner of the webhooks to themselves. You will need to pass in the owner of the webhook.

Value: owner

f

The response format. The default response format is html .

Values: html | json | pjson

Example usage

Below is a sample request URL used to access the Webhooks resource:

At the organization level as an organization administrator you can change the owner of the webhooks to themselves. In this example you can reassign the owner of one or more webhooks to themselves.

Use dark colors for code blocksCopy
1
https://myserver.domain.com/myTenant/ArcGIS/rest/admin/WebHooks/reassignOwner?ownerFrom=owner&f=pjson (Organization level)

At the organization level as an organization administrator you can change the owner of the webhook to themselves. In this example you can reassign the owner of a specific webhook to themselves.

Use dark colors for code blocksCopy
1
https://myserver.domain.com/myTenant/ArcGIS/rest/admin/WebHooks/webhookID/reassignOwner?f=pjson (Organization level)

At the service level both an organization administrator or the feature service owner can reassign a webhook to themselves. In this example you can reassign the owner of one or more webhooks to themselves.

Use dark colors for code blocksCopy
1
https://myserver.domain.com/myTenant/ArcGIS/rest/admin/services/serviceName/WebHooks/reassignOwner?ownerFrom=owner&f=pjson (Service level)

At the service layer level both an organization administrator or the feature service owner can reassign a webhook to themselves. In this example you can reassign the owner of a specific webhook to themselves.

Use dark colors for code blocksCopy
1
https://myserver.domain.com/myTenant/ArcGIS/rest/admin/services/serviceName/WebHooks/webhookID/reassignOwner?f=pjson (Service level)

JSON Response example

This response example returns a success status.

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
[
{
  "name" : "test_Basins",
  "serviceType" : "FeatureServer",
  "status" : "success"
}
]

This response example returns a failed status.

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
[
{
  "name" : "test_Basins",
  "serviceType" : "FeatureServer",
  "status" : "failed"
}
]

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