You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/graphql/guides/managing-enterprise-accounts.md
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ For some example queries, see "[An example query using the Enterprise Accounts A
53
53
54
54
1. To authenticate with GraphQL, you need to generate a {% data variables.product.pat_generic %} from developer settings. For more information, see "[AUTOTITLE](/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)."
55
55
56
-
2. Grant admin and full control permissions to your {% data variables.product.pat_generic %} for areas of GHES you'd like to access. For full permission to private repositories, organizations, teams, user data, and access to enterprise billing and profile data, we recommend you select these scopes for your {% data variables.product.pat_generic %}:
56
+
2. Grant admin and full control permissions to your {% data variables.product.pat_generic %} for areas of your enterprise you'd like to access. For full permission to private repositories, organizations, teams, user data, and access to enterprise billing and profile data, we recommend you select these scopes for your {% data variables.product.pat_generic %}:
57
57
-`repo`
58
58
-`admin:org`
59
59
-`user`
@@ -84,16 +84,15 @@ The next steps will use Insomnia.
84
84
- For your enterprise instance: `https://<HOST>/api/graphql`
85
85
- For GitHub Enterprise Cloud: `https://api.github.com/graphql`
86
86
87
-
2. To authenticate, open the authentication options menu and select **Bearer token**. Next, add your {% data variables.product.pat_generic %} that you copied earlier.
88
-
89
-

90
-
91
-

92
-
93
-
3. Include header information.
94
-
- Add `Content-Type` as the header and `application/json` as the value.

87
+
1. Select the "Auth" menu and click **Bearer Token**. If you've previously selected a different authentication method, the menu will be labeled with that method, such as "Basic Auth", instead.
88
+

89
+
1. In the "TOKEN" field, enter your {% data variables.product.pat_generic %} from an earlier step.
90
+

91
+
1. Click **Headers**.
92
+

93
+
1. Under the **Headers** tab, click **Add**.
94
+
1. In the "header" field, enter `Content-Type`.
95
+
1. In the "value" field, enter `application/json`.
0 commit comments