- URL:
- https://<WebHooks-url>/reassignOwner
- Methods:
POST- Version Introduced:
- June, 2020
Description
The reassign operation allows a owner/admin to reassign a webhook within the organization to themselves.
Request parameters
| Property | Details |
|---|---|
owner | 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: |
f | The response format. The default response format is Values: |
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.
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.
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.
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.
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.
[
{
"name" : "test_Basins",
"serviceType" : "FeatureServer",
"status" : "success"
}
]This response example returns a failed status.
[
{
"name" : "test_Basins",
"serviceType" : "FeatureServer",
"status" : "failed"
}
]