|
1 |
| ---- |
2 |
| -title: "API Tokens" |
3 |
| -path: "/programs/api-tokens.html" |
4 |
| -id: "programs/api-tokens" |
5 |
| ---- |
6 |
| - |
7 |
| -Your program’s administrative users can generate and manage API tokens to experiment with or use the HackerOne API. The API token identifier and value are used as the username and password for HTTP Basic authentication. |
8 |
| - |
9 |
| -To generate an API token: |
10 |
| -1. Go to <b>Settings > Program > Automation > API</b>. |
11 |
| - |
12 |
| - |
13 |
| -2. Click <b>Create API Token</b>. |
14 |
| - |
15 |
| - |
16 |
| -3. Enter an identifier for the new API token. |
17 |
| - |
18 |
| - |
19 |
| -4. Store the generated API token. |
20 |
| -5. Click <b>I have stored the API Token</b>. |
21 |
| - |
22 |
| - |
23 |
| -You’ll get a confirmation email stating that you’ve created a new API token. You can manage the groups that have access to the API tokens and revoke the token as well. |
24 |
| - |
25 |
| -To learn more about the HackerOne API check out our [API docs](https://api.hackerone.com/docs/v1). |
26 |
| - |
27 |
| -### Managing Groups |
28 |
| -To manage which groups have access to the API tokens: |
29 |
| -1. Click <b>Manage groups</b> on the API settings page for the identifier you want to manage groups for. |
30 |
| - |
31 |
| - |
32 |
| -2. Select which groups you want to give permissions to. When a group isn’t selected, they only have read-only permissions. |
33 |
| -3. Click <b>Apply changes</b>. |
34 |
| - |
| 1 | +--- |
| 2 | +title: "API Tokens" |
| 3 | +path: "/programs/api-tokens.html" |
| 4 | +id: "programs/api-tokens" |
| 5 | +--- |
| 6 | + |
| 7 | +Your program’s administrative users can generate and manage API tokens to experiment with or use the HackerOne API. The API token identifier and value are used as the username and password for HTTP Basic authentication. |
| 8 | + |
| 9 | +To generate an API token: |
| 10 | +1. Go to <b>Settings > Program > Automation > API</b>. |
| 11 | + |
| 12 | + |
| 13 | +2. Click <b>Create API Token</b>. |
| 14 | + |
| 15 | + |
| 16 | +3. Enter an identifier for the new API token. |
| 17 | + |
| 18 | + |
| 19 | +4. Store the generated API token. |
| 20 | +5. Click <b>I have stored the API Token</b>. |
| 21 | + |
| 22 | + |
| 23 | +You’ll get a confirmation email stating that you’ve created a new API token. You can manage the groups that have access to the API tokens and revoke the token as well. |
| 24 | + |
| 25 | +To learn more about the HackerOne API check out our [API docs](https://api.hackerone.com/docs/v1). |
| 26 | + |
| 27 | +### Managing Groups |
| 28 | +To manage which groups have access to the API tokens: |
| 29 | +1. Click <b>Manage groups</b> on the API settings page for the identifier you want to manage groups for. |
| 30 | + |
| 31 | + |
| 32 | +2. Select which groups you want to give permissions to. When a group isn’t selected, they only have read-only permissions. |
| 33 | +3. Click <b>Apply changes</b>. |
| 34 | + |
0 commit comments