Account API Tokens Write is not in the interface
Hey everyone, I'm trying to add the
Account API Tokens Write
permission group to a User Api Token.
When I open the dev tools in the dashboard in can clearly see that the permission is returned from the async call.
But when I search the list of permissions, this is nowhere to be found...
Is it hidden under another name? Do you have any idea on what I can do?
Thanks!

6 Replies
Have you tried the "Create Additional Tokens" preset?
Hacked my way through with a custom curl and I don't think the dashboard likes it haha

The permission should be called
API Tokens
That looks right? Not sure why it is grayed out, but it is for me tooHum yup this is what i tried
My 2cents is that it is grayed out because the picker doesn't contain the value :DogKek:
Oh well, it works, just not very user friendly lol
Yeah, looking in to it
If I can give a small feedback as to how I came to need this:
I'm automating the creation of an R2 Bucket with its associated Api Token through Pulumi.
It was quite... challenging.
The whole process of finding the right permission group to feed to the constructor of the AccountToken requires to jump out of the "declarative land" and query the api to get the right value to put back in a "Pulumi compatible input".
Maybe this should be easier if it was hidden inside the AccountToken using constants instead of the ids of the permission groups.
I know it's not how it is modeled in the API but it feels a bit alien in IaC.