Unregister non-existing server site

346
1
11-07-2019 10:51 PM
Thomas_HvassKristensen
New Contributor

I need to unregister a non-existing ArcGIS Server site in from the Portal. However using the unregister url I found in another thread gives me:
https://<portalhost>/portal/sharing/rest/portals/0123456789ABCDEF/servers/<siteID>/unregister 

Error

You do not have permissions to access this resource or perform this operation.


Error: 403
-------
I'm logged in as Portal Admin, and this is Version 10.7, and I have tried both through the Webadaptor and directly on the Portal Host.
Thanks
0 Kudos
1 Reply
liqiuping
New Contributor II

you have to use the "post" method and a "token" should be added in your data before you post it.

0 Kudos