Skip to content

Create an API token using an API request #3292

Answered by thomasheartman
ivangfr asked this question in Q&A
Discussion options

You must be logged in to vote

Hey!

Yeah, you can use the API tokens API. The create API token operation should do that for you.

However, you will need an API token to use the API in the first place, so it might be that you're better off starting Unleash with API tokens already present. You can do that using the INIT_ADMIN_API_TOKENS/INIT_CLIENT_API_TOKENS environment variables as mentioned in the further customization section of the Configuring Unleash document .

Let me know if that gives you what you need ☺️

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ivarconr
Comment options

You must be logged in to vote
2 replies
@thomasheartman
Comment options

@ivangfr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants