<?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: Cannot create Private Locations via API because org access tokens cannot receive enough of permissions in Splunk Cloud Platform</title>
    <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Cannot-create-Private-Locations-via-API-because-org-access/m-p/756337#M4089</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;&amp;nbsp;That's my mistake. I fixed it - the correct path is /v2/synthetics/locations. However, this does not change anything in the assignment.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -X POST "https://api.eu1.signalfx.com/v2/synthetics/locations" -H "Content-Type: application/json" -H "X-SF-TOKEN: **********" -d '{"location":{"id":"private-data-center","label":"Data Center"}}'
{"errors":["Not Authorized"]}&lt;/LI-CODE&gt;&lt;P&gt;The token has all the available roles listed in the documentation above.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Edit:&amp;nbsp;&lt;/EM&gt;I just want to add that listing the existing ones works. So the token itself is fine, at least for this operation.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Dec 2025 14:48:38 GMT</pubDate>
    <dc:creator>jiriwetter</dc:creator>
    <dc:date>2025-12-09T14:48:38Z</dc:date>
    <item>
      <title>Cannot create Private Locations via API because org access tokens cannot receive enough of permissions</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Cannot-create-Private-Locations-via-API-because-org-access/m-p/756308#M4087</link>
      <description>&lt;P&gt;We are unable to create &lt;EM&gt;Private Locations in Splunk Observability Cloud using the documented API endpoint:&amp;nbsp;POST /v2/synthetics/locations&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Although my user account has the &lt;STRONG&gt;admin role in the organization, organization access tokens cannot be assigned the &lt;STRONG&gt;admin role. The UI allows selecting only these roles:&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;power&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;read_only&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;usage&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;According to the documentation, these are the only roles available when creating org-tokens with API scope.&lt;BR /&gt;&lt;EM&gt;Reference:&lt;/EM&gt;&amp;nbsp;&lt;A href="https://help.splunk.com/en/splunk-observability-cloud/administer/authentication-and-security/authentication-tokens/org-access-tokens" target="_self"&gt;https://help.splunk.com/en/splunk-observability-cloud/administer/authentication-and-security/authentication-tokens/org-access-tokens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, the ability to manage Private Locations via API ?requires? admin-level permissions, which are not included in the power/read_only/usage roles. Therefore, the API call fails due to insufficient permissions, even though the user who created the token is an administrator.&lt;/P&gt;&lt;P&gt;User-role documentation:&amp;nbsp;&lt;A href="https://help.splunk.com/en/splunk-observability-cloud/administer/user-and-team-management/manage-roles" target="_self"&gt;https://help.splunk.com/en/splunk-observability-cloud/administer/user-and-team-management/manage-roles&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We would like to clarify:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Whether creating Private Locations using &lt;STRONG&gt;organization access tokens is officially supported.&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If yes, how we can assign the necessary admin-level permissions to the token.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If not supported, whether this is an intended product limitation and whether support for this use case is planned.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Whether the recommended workaround is to rely on short-lived user session tokens instead.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This behavior prevents the automation of Private Location provisioning, even though the API endpoint is documented and intended for such use.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 13:24:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Cannot-create-Private-Locations-via-API-because-org-access/m-p/756308#M4087</guid>
      <dc:creator>jiriwetter</dc:creator>
      <dc:date>2025-12-09T13:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create Private Locations via API because org access tokens cannot receive enough of permissions</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Cannot-create-Private-Locations-via-API-because-org-access/m-p/756313#M4088</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/314664"&gt;@jiriwetter&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where did you find the url&amp;nbsp;&lt;EM&gt;/v2/private-locations ?&amp;nbsp; C&lt;/EM&gt;an you confirm that you are talking about Splunk Synthetic private location?&lt;/P&gt;&lt;P&gt;From what I understand, you need to first create the private location &lt;A href="https://dev.splunk.com/observability/reference/api/synthetics_locations/latest#endpoint-postlocations" target="_self"&gt;if not done so already&lt;/A&gt;:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -X POST "https://api.{REALM}.signalfx.com/v2/synthetics/locations" \
    -H "Content-Type: application/json" \
    -H "X-SF-TOKEN: &amp;lt;value&amp;gt;" \
    -d '{
            "location": {
                "id": "private-data-center",
                "label": "Data Center"
            }
        }'&lt;/LI-CODE&gt;&lt;P&gt;You would then &lt;A href="https://dev.splunk.com/observability/reference/api/synthetics_locations/latest#endpoint-listprivatelocationrunnertokens" target="_self"&gt;request a runner token for that location&lt;/A&gt;:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -X POST "https://api.{REALM}.signalfx.com/v2/synthetics/locations/{location_id}/runner_tokens" \
    -H "Content-Type: application/json" \
    -H "X-SF-TOKEN: &amp;lt;value&amp;gt;"&lt;/LI-CODE&gt;&lt;P&gt;You would then use the token received to create you private location runner:&amp;nbsp;&lt;A href="https://help.splunk.com/en/splunk-observability-cloud/monitor-end-user-experience/synthetic-monitoring/advanced-test-configurations/private-locations" target="_blank"&gt;https://help.splunk.com/en/splunk-observability-cloud/monitor-end-user-experience/synthetic-monitoring/advanced-test-configurations/private-locations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 10:32:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Cannot-create-Private-Locations-via-API-because-org-access/m-p/756313#M4088</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-12-09T10:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create Private Locations via API because org access tokens cannot receive enough of permissions</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Cannot-create-Private-Locations-via-API-because-org-access/m-p/756337#M4089</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;&amp;nbsp;That's my mistake. I fixed it - the correct path is /v2/synthetics/locations. However, this does not change anything in the assignment.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -X POST "https://api.eu1.signalfx.com/v2/synthetics/locations" -H "Content-Type: application/json" -H "X-SF-TOKEN: **********" -d '{"location":{"id":"private-data-center","label":"Data Center"}}'
{"errors":["Not Authorized"]}&lt;/LI-CODE&gt;&lt;P&gt;The token has all the available roles listed in the documentation above.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Edit:&amp;nbsp;&lt;/EM&gt;I just want to add that listing the existing ones works. So the token itself is fine, at least for this operation.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Dec 2025 14:48:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Cannot-create-Private-Locations-via-API-because-org-access/m-p/756337#M4089</guid>
      <dc:creator>jiriwetter</dc:creator>
      <dc:date>2025-12-09T14:48:38Z</dc:date>
    </item>
  </channel>
</rss>

