<?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 Re: Can't Access Hosted Layer Administrative Endpoint in Publishing and Managing Services Questions</title>
    <link>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1527403#M1266</link>
    <description>&lt;P&gt;Maybe this was already discussed but I believe you have to use an admin account to access those end points through the Python API.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Aug 2024 19:45:14 GMT</pubDate>
    <dc:creator>Dan_Brumm</dc:creator>
    <dc:date>2024-08-26T19:45:14Z</dc:date>
    <item>
      <title>Can't Access Hosted Layer Administrative Endpoint</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1526665#M1259</link>
      <description>&lt;P&gt;I'm trying to get at the administrative endpoint of my server in order to do things like update the definition, truncate, etc.&lt;/P&gt;&lt;P&gt;According to &lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/fs-truncate/" target="_blank" rel="noopener"&gt;pages like this&lt;/A&gt;, there is a simple URL to get at these things, something like:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;https://services.myserver.com/arcgis/rest/admin/services&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Regardless of what I've tried to adjust in the settings, I continue to see code 403, with the message:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Access to this resource is not allowed&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Confusingly, the documentation seems to indicate that &lt;STRONG&gt;*/rest/admin/services&lt;/STRONG&gt; is completely different from &lt;STRONG&gt;*/admin/services&lt;/STRONG&gt;. The former is to perform administrative actions against services, and is inaccessible, the latter is to perform system-wide, potentially damaging edits to the server configuration, and can be accessed easily with a token.&lt;/P&gt;&lt;P&gt;I don't understand why it should be harder to truncate a layer than it is to completely break my server, but that seems to be the case. I haven't seen any explanations for why access to this would be locked down, nor how to open it up. Have I missed a setting? Did I skip a line in the docs that say "oh by the way you can only access this locally"?&lt;/P&gt;&lt;P&gt;I know that these kinds of functions are available through the &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.features.managers.html#featurelayermanager" target="_blank" rel="noopener"&gt;arcgis.features.managers.FeatureLayerManager&lt;/A&gt; class in the Python API, but I need to be able to perform this task with a POST request.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 20:21:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1526665#M1259</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-08-23T20:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Access Hosted Layer Administrative Endpoint</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1527065#M1260</link>
      <description>&lt;P&gt;Both those access points require authentication.&lt;/P&gt;&lt;P&gt;How are you accessing the rest/admin/services URL?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use Postman for certain service admin tasks and as long as I pass a token it works great.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 13:35:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1527065#M1260</guid>
      <dc:creator>dgiersz_cuyahoga</dc:creator>
      <dc:date>2024-08-26T13:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Access Hosted Layer Administrative Endpoint</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1527096#M1261</link>
      <description>&lt;P&gt;I'm using HTTP POST requests directly to the URL, complete with a valid administrator token. What kinds of tasks are you performing?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 14:10:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1527096#M1261</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-08-26T14:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Access Hosted Layer Administrative Endpoint</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1527106#M1262</link>
      <description>&lt;P&gt;I'll update the definition to tweak domains or default values, etc.&lt;/P&gt;&lt;P&gt;It could be an issue with the token. Maybe the client parameter?&amp;nbsp; It always takes me a couple tries to get the right parameters when generating tokens. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 14:19:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1527106#M1262</guid>
      <dc:creator>dgiersz_cuyahoga</dc:creator>
      <dc:date>2024-08-26T14:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Access Hosted Layer Administrative Endpoint</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1527108#M1263</link>
      <description>&lt;P&gt;Yeah, that's exactly the sort of stuff I'm looking to do.&lt;/P&gt;&lt;P&gt;I'll take a closer look at the token, but it seems to work fine for everything else I do, whether that's editing the server / site configuration, make edits to feature services, do administrative tasks on the Portal.&lt;/P&gt;&lt;P&gt;Happy to hear it's possible, though! Gives me motivation to keep figuring it out.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 14:25:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1527108#M1263</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-08-26T14:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Access Hosted Layer Administrative Endpoint</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1527113#M1264</link>
      <description>&lt;P&gt;Check out Postman, it may help with the troubleshooting. Esri even provides examples:&amp;nbsp;&lt;A href="https://www.postman.com/esridevs" target="_blank"&gt;https://www.postman.com/esridevs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 14:29:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1527113#M1264</guid>
      <dc:creator>dgiersz_cuyahoga</dc:creator>
      <dc:date>2024-08-26T14:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Access Hosted Layer Administrative Endpoint</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1527231#M1265</link>
      <description>&lt;P&gt;Yarg. Nothing seems to work. Server settings even show &lt;STRONG&gt;"isAdminEnabled": true&lt;/STRONG&gt;, so I'm not sure what else is going on. Thanks for you help, though!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 15:26:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1527231#M1265</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-08-26T15:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Access Hosted Layer Administrative Endpoint</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1527403#M1266</link>
      <description>&lt;P&gt;Maybe this was already discussed but I believe you have to use an admin account to access those end points through the Python API.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 19:45:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1527403#M1266</guid>
      <dc:creator>Dan_Brumm</dc:creator>
      <dc:date>2024-08-26T19:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Access Hosted Layer Administrative Endpoint</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1527404#M1267</link>
      <description>&lt;P&gt;I'm specifically &lt;EM&gt;not &lt;/EM&gt;using the Python API, and I am my org's admin. Or do you mean like a system login, not a built-in user?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 19:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/can-t-access-hosted-layer-administrative-endpoint/m-p/1527404#M1267</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-08-26T19:46:37Z</dc:date>
    </item>
  </channel>
</rss>

