Skip to content

Commit eb8854c

Browse files
Included a tip on permissions required to perform GraphQL queries successfully (#55628)
Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com>
1 parent b237db0 commit eb8854c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

content/admin/configuring-settings/configuring-private-networking-for-hosted-compute-products/configuring-private-networking-for-github-hosted-runners-in-your-enterprise.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ redirect_from:
3535

3636
### 1. Obtain the `databaseId` for your enterprise
3737

38+
> [!TIP]
39+
> Your token will require at minimum `read:enterprise` permissions to perform a successful query.
40+
3841
You can use the following GraphQL query to retrieve your enterprise `databaseId`. You will use the enterprise `databaseId` for the value of the `DATABASE_ID` environment variable in the next step. For more information on working with GraphQL, see [AUTOTITLE](/graphql/guides/forming-calls-with-graphql).
3942

4043
{% data reusables.enterprise_migrations.retrieve-enterprise-id-graphql %}

content/organizations/managing-organization-settings/configuring-private-networking-for-github-hosted-runners-in-your-organization.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ topics:
3434

3535
### 1. Obtain the `databaseId` for your organization
3636

37+
> [!TIP]
38+
> Your token will require at minimum `read:org` permissions to perform a successful query.
39+
3740
You can use the following GraphQL query to retrieve your organization `databaseId`. You will use the organization `databaseId` for the value of the `DATABASE_ID` environment variable in the next step. For more information on working with GraphQL, see [AUTOTITLE](/graphql/guides/forming-calls-with-graphql).
3841

3942
| Query variable | Description |

0 commit comments

Comments
 (0)