I want to read some files in one project existing in gitlab from the application via gitlab API. I create deploy token
in the project through
settings -> Repository -> Deploy Tokens.
I then try
/api/v4/projects/MY_ID?private_token=MY_TOKEN
and
/api/v4/projects/MY_ID?access_token=MY_TOKEN
, and none of them work - Both return 401
Can't this deploy token
use as an authentication token, and I have to create a new user to achieve it?
But the documentation describes that this deploy token
is used for accessing this project, or?