Closed ilyapuchka closed 4 years ago
export CIRCILECI_TOKEN=<token>
curl -u ${CIRCLECI_TOKEN}: https://circleci.com/api/v2/me
Result:
{ "message" : "You must log in first." }
The token needs to be PERSONAL TOKEN, not project API token
export CIRCILECI_TOKEN=<token>
curl -u ${CIRCLECI_TOKEN}: https://circleci.com/api/v2/me
Result: