GraphQL secretCreate Mutation

I have a runpod teams account, and want to programatically add secrets to the account (https://docs.runpod.io/sdks/graphql/manage-pod-templates#create-a-secret). I'll then be using these secrets in my Pod. This API works when I use my personal key, however, when I use the team API key, it gives me the following error: Not authorized. Missing required scope(s): TEAM_ADMIN, TEAM_DEV

My API key already has all full access, and running the "myself" query shows that I do have the "admin" role in "teamScopes". What exactly am I missing?
Create, modify, and delete templates in RunPod using GraphQL API with various parameters for container disk size, Docker arguments, environment variables, and more.
Was this page helpful?