Hello everyone,
I want to call arcgis web api to get the list of all users and groups in my organization, using a token I have generated during authentication process.
I have tried a couple of options but none of them seems to work:
https://geofy.maps.arcgis.com/portaladmin/security/groups/searchEnterpriseGroups (POST)
{
"f":"json",
"maxCount":"10"
}
or
https://geofy.maps.arcgis.com/portaladmin/security/groups/searchEnterpriseGroups (POST)
{
"token":"xxxxx"
"f":"json",
"maxCount":"10"
}
or
https://geofy.maps.arcgis.com/sharing/rest/content/groups?f=pjson&token=xxxxxxxxxxxxxx (GET)
I don't know if there is something wrong with URL or with parameters. I have been trying for more then 2 week to solve this but nothing seems to work.
I have analysed the Rest API reference ArcGIS REST API but still couldn't find the solution.
Kind Regards