Search code examples
bitbucketbitbucket-apibitbucket-cloud

How to get the access level of a user for a bitbucket repo using REST API?


Hey I am using REST API for bit-bucket cloud for my application. I have to check whether the user(with token, which is passed through header) has access to a particular repo or not? If yes what access level is provided? What url should I hit for this?


Solution

  • you can hit this api, with corresponding authToken as header to get the access level. Hope this helps.