Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Add an user to account using the api

Ido Gafinovitz July 28, 2022

Hey!

I'm looking for an API endpoint to help me add an user to account. and I couldn't find such one...

Can you guys assist?

Thanks!

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 1, 2022

Hello @Ido Gafinovitz ,

Welcome to Atlassian Community! 

If by 'add a user to account' you meant granting direct permission to a given user in a repository within your workspace, we have the following Bitbucket API endpoint that can be used for that porpoise : 

However, if you meant adding a user to a specific group in your workspace, we still just have a Bitbucket API 1.0 endpoint for that, which you can find below  : 

You can refer to the documentation of both endpoints above, and in case you run into any issues, feel free to ask. Also, as both of the endpoints needs the UUID of the user being added, you can get the UUID from List users from a workspace.

Thank you, @Ido Gafinovitz .

Kind regards,

Patrik S

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events