Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Bitbucket Cloud API to add member to team?

Github has this API : Add or update organization membership (given authenticated user is an organization owner)

Does Bitbucket APIs have an equivalent of this for theirs teams (equivalent of organizations in Github)?

In the docs I can see only a read API for list members of a team but no add member API. Does Bitbucket cloud API not support this at all?

like image 351
Nullpoet Avatar asked Nov 02 '16 23:11

Nullpoet


People also ask

How do I use API token in Bitbucket?

Create HTTP access tokens To create an HTTP access token for your user account: Go to Profile picture > Manage account > HTTP access tokens. Select Create token. Set the token name, permissions, and expiry.


1 Answers

Have you seen these docs? I think this is more relevant than yours for Bitbucket. (not sure why there's two) https://confluence.atlassian.com/bitbucket/use-the-bitbucket-cloud-rest-apis-222724129.html

Scroll down to the supported endpoints. I think you want "invitations, groups, group-privileges" at the top of the chart.

like image 67
diabetesjones Avatar answered Sep 19 '22 10:09

diabetesjones