<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Accessing admin API using ArcGIS developer account in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/accessing-admin-api-using-arcgis-developer-account/m-p/55387#M2663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a created an ArcGIS Developer account and trying to test&amp;nbsp;&amp;nbsp;&lt;STRONG style="background-color: #f8f8f8; color: #595959; "&gt;addToDefinition &lt;/STRONG&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;operation&lt;/SPAN&gt;&lt;STRONG style="background-color: #f8f8f8; color: #595959; "&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;&lt;A href="https://services.myserver.com/OrgID/ArcGIS/rest/admin/services/example/FeatureServer/0/addToDefinition"&gt;https://services.myserver.com/OrgID/ArcGIS/rest/admin/services/example/&lt;STRONG&gt;FeatureServer&lt;/STRONG&gt;/0/addToDefinition&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;but&amp;nbsp; getting below error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;{&lt;BR /&gt; "error" : &lt;BR /&gt; {&lt;BR /&gt; "code" : 403, &lt;BR /&gt; "message" : "User does not have permissions to access this service", &lt;BR /&gt; "details" : [&lt;BR /&gt; "User does not have permissions to access this service"&lt;BR /&gt; ]&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;I am not sure How to access admin api using Arcgis developer account?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2020 14:22:26 GMT</pubDate>
    <dc:creator>GurpreetPuri</dc:creator>
    <dc:date>2020-03-25T14:22:26Z</dc:date>
    <item>
      <title>Accessing admin API using ArcGIS developer account</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/accessing-admin-api-using-arcgis-developer-account/m-p/55387#M2663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a created an ArcGIS Developer account and trying to test&amp;nbsp;&amp;nbsp;&lt;STRONG style="background-color: #f8f8f8; color: #595959; "&gt;addToDefinition &lt;/STRONG&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;operation&lt;/SPAN&gt;&lt;STRONG style="background-color: #f8f8f8; color: #595959; "&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;&lt;A href="https://services.myserver.com/OrgID/ArcGIS/rest/admin/services/example/FeatureServer/0/addToDefinition"&gt;https://services.myserver.com/OrgID/ArcGIS/rest/admin/services/example/&lt;STRONG&gt;FeatureServer&lt;/STRONG&gt;/0/addToDefinition&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;but&amp;nbsp; getting below error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;{&lt;BR /&gt; "error" : &lt;BR /&gt; {&lt;BR /&gt; "code" : 403, &lt;BR /&gt; "message" : "User does not have permissions to access this service", &lt;BR /&gt; "details" : [&lt;BR /&gt; "User does not have permissions to access this service"&lt;BR /&gt; ]&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;I am not sure How to access admin api using Arcgis developer account?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 14:22:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/accessing-admin-api-using-arcgis-developer-account/m-p/55387#M2663</guid>
      <dc:creator>GurpreetPuri</dc:creator>
      <dc:date>2020-03-25T14:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing admin API using ArcGIS developer account</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/accessing-admin-api-using-arcgis-developer-account/m-p/1017459#M38030</link>
      <description>&lt;P&gt;I have the same problem&lt;/P&gt;&lt;P&gt;Why is nobody answering this question?&lt;/P&gt;&lt;P&gt;This item is posted 10 months ago.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 11:45:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/accessing-admin-api-using-arcgis-developer-account/m-p/1017459#M38030</guid>
      <dc:creator>jeroen_v</dc:creator>
      <dc:date>2021-01-16T11:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing admin API using ArcGIS developer account</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/accessing-admin-api-using-arcgis-developer-account/m-p/1047532#M39487</link>
      <description>&lt;P&gt;I had this problem too and wanted to use Update Definition or Add To Definition. What worked for me was right under my nose. I was getting the token from different sources and it would accept the token but then it would continue to say "&lt;SPAN&gt;User does not have permissions to access this service."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In AGOL Online, within the Hosted Feature Layer's&amp;nbsp;Overview, I clicked on my actual Polygon Layer. This brings you to the layer itself. Then instead of Copying the URL, click the &lt;STRONG&gt;View&lt;/STRONG&gt; link. It brings over the proper token! (Not sure if this is new since the last few updates to AGOL)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then add "admin" to the URL and bingo! ( change "rest/services/" to "rest/admin/services/")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this helps you&amp;nbsp; "View" the proper token and access your services.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Apr 2021 13:38:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/accessing-admin-api-using-arcgis-developer-account/m-p/1047532#M39487</guid>
      <dc:creator>City_ofNorth_Bay</dc:creator>
      <dc:date>2021-04-15T13:38:44Z</dc:date>
    </item>
  </channel>
</rss>

