Skip to content

Commit 2e7c471

Browse files
authored
Update User Guide for pregenerated API tokens (#2380)
1 parent 865ccdb commit 2e7c471

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

docusaurus/docs/user-docs/settings/API-tokens.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ API tokens allow users to authenticate REST and GraphQL API queries (see [Develo
1919
<ThemedImage
2020
alt="API tokens"
2121
sources={{
22-
light: '/img/assets/settings/settings_api-token.png',
23-
dark: '/img/assets/settings/settings_api-token_DARK.png',
22+
light: '/img/assets/settings/settings_pregen-api-tokens.png',
23+
dark: '/img/assets/settings/settings_pregen-api-tokens_DARK.png',
2424
}}
2525
/>
2626

@@ -31,6 +31,10 @@ The table displays each API token's name, description, date of creation, and dat
3131
- Click on the <Icon name="pencil-simple" /> to edit an API token's name, description, type, duration or [regenerate the token](#regenerating-an-api-token).
3232
- Click on the <Icon name="trash"/> to delete an API token.
3333

34+
:::note
35+
Strapi pre-generates 2 API tokens for you, a Full access one and a Read-only one. Since tokens can be only seen once after creation, you have to [regenerate](#regenerating-an-api-token) them before using them.
36+
:::
37+
3438
## Creating a new API token
3539

3640
To create a new API token:
396 KB
Loading
398 KB
Loading

0 commit comments

Comments
 (0)