Permission denied from api


#1

I keep getting

“message” : “Permission denied” JSON back from the following command line call:

curl -X POST -u myApiToken: https://circleci.com/api/v1.1/project/github/Atticus29/cypress-example-kitchensink

Any advice for what to look into?


#2

Same when I try

curl -X POST https://circleci.com/api/v1.1/project/github/Atticus29/cypress-example-kitchensink?circle-token=myApiToken


#3

Update: it looks like this went away when I created a new API key with a scope of “all”.


#4

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.