Skip to content

Commit a018fbf

Browse files
authored
Update create-via-api.mdx
Added a Note under the initial overview specifying that the "Create additional tokens" template MUST be used as it is the only option which lets a user create this special token. This language is not stated anywhere in the API token documentation, nor on the existing page.
1 parent f0a3db4 commit a018fbf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/content/docs/fundamentals/api/how-to/create-via-api.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ import { Render, Tabs, TabItem, APIRequest } from "~/components";
1010

1111
Generate new API tokens on the fly via the API. Before you can do this, you must create an API token in the Cloudflare dashboard that can create subsequent tokens.
1212

13+
:::note
14+
15+
The API Token Template ["Create additional tokens"](/fundamentals/api/reference/template/) **must** be used to generate this token. The option for **API Tokens::Edit** is not available in any other template, or in the Custom Token builder.
16+
:::
17+
1318
## Generating the initial token
1419

1520
Before you can create tokens via the API, you need to [generate the initial token](/fundamentals/api/get-started/create-token/) via the Cloudflare dashboard.

0 commit comments

Comments
 (0)