Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I keep getting a 401(Unauthorized) response on all the Talend Swagger/Public API requests after entering a valid token hash that I've just generated. Is it a question of roles I need to attribute to a particular user, or is there some other prerequisite?
For info: v2.5 and here are all the roles my user is assigned before I create the token:
Thanks,
nmoses
Hello
To have full access on the API, it's better to have full privileges on
Management Console
https://community.talend.com/s/article/Using-the-Talend-Cloud-Management-Console-Public-API-O2Ndn
I am also interested in knowing the answer, but Talend doesn't seem to provide it.
I tried a little, and Operator role has Management Console and Studio applications and seems to have the ability to run some API methods on the public Talend Cloud API at https://api.us.cloud.talend.com/tmc/swagger/swagger-ui.html#!/executions/execute.
@Nicholas Moses
I just found out today that as long as you are authorized in https://api.us.cloud.talend.com/tmc/swagger/swagger-ui.html, you just need the following combined permissions (which are assigned for the default Operator role, which also has a Studio permission) in the Management Console application.
Also, please make sure you add Bearer before your token, like shown below.
"Bearer xxxxxxxxxx"
I hope this helps.