Nullpoet
Nullpoet

Reputation: 11259

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?

Upvotes: 7

Views: 1284

Answers (1)

diabetesjones
diabetesjones

Reputation: 838

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.

Upvotes: 1

Related Questions