Set_baseline API usage

How to use this https://sonarcloud.io/web_api/api/project_analyses/set_baseline API in sonarQube? with admin credentials, I’m getting 401 Unauthorised error

A post was merged into an existing topic: Getting 401 Unauthorised & Better way of solving the given problem statement