Hi,
I am trying to add user to bitbucket project using rest api, but get 403 error. I have sys admin access to that instance.
-bash-3.2$ curl -u ****:*** -X PUT "https://*****/REST/API/1.0/PROJECTS/CAR/PERMISSIONS/USERS?NAME=user1&PERMISSION=PROJECT_READ"
Error:
The server understood the request but refuses to authorize it.
I am completely out of ideas and surprised with this response. Any help is appreciated.
I checked that documentation and user which I am trying is not part of this project or has any higher global level permission.
When I try the same operation from UI, it works fine. but from rest api it results in 403 error.
Thanks
Mansi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I'm trying to upload the plugin using sys admin access, I'm also getting 403 error whereas UI its working fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.