8000 added page to show how to generate hacker api token · Somnn/docs.hackerone.com@9d22fc7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9d22fc7

Browse files
committed
added page to show how to generate hacker api token
1 parent e44799f commit 9d22fc7

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

docs/hackers/api-token.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: 'API Token'
3+
path: '/hackers/api-token.html'
4+
id: 'hackers/api-token'
5+
---
6+
7+
You can generate an API token 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+
### Generating a personal API token
10+
11+
In order to generate a personal access token, please follow these steps:
12+
13+
1. Sign in to your HackerOne account
14+
2. Visit the [API Token](https://hackerone.com/settings/api_token/edit) page in your account settings
15+
16+
![api token page](./images/api-token-1.png)
17+
18+
3. Click **Generate API Token** to generate a new token.
19+
a. This will revoke any previously generated token
20+
b. The token will only be shown once, so make sure to store it well
21+
22+
![api token generated display](./images/api-token-2.png)
23+
24+
### Revoking your API token
25+
26+
In order to revoke a token, you can do the following:
27+
28+
a. Generate a new API token
29+
b. Revoke the token by clicking **click here** on the API Token settings page
30+
31+
![api token page](./images/api-token-1.png)

docs/hackers/images/api-token-1.png

30.6 KB
Loading

docs/hackers/images/api-token-2.png

24 KB
Loading

0 commit comments

Comments
 (0)
0