Permission denied from api

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?

Same when I try

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

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

1 Like

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