Is the V1 API fully deprecated for Free plan? Getting 400 error, that do not have access to view the workspace even if i am the org owner.
Using endpoint: https://api.bitbucket.org/1.0/users/{workspace}/invitations
Hi Alejandro and welcome to the community!
This endpoint is available only for Bitbucket workspaces that are not managed at admin.atlassian.com.
If you have moved the administration from in Bitbucket Cloud to admin.atlassian.com then this endpoint will be disabled for that workspace, and you'll need to use the cloud admin APIs.
You can find more details here:
The billing plan of the workspace doesn't have anything to do with this.
Kind regards,
Theodora
Hello! And thank you. Coming back to review this setup. Is there a new endpoint that can be used for invitations in admin.atlassian.com?
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alejandro,
At the moment, an invitation can be sent only if you also use JIRA Cloud (with the Jira APIs) or if you use User Provisioning with an Atlassian Guard (formerly known as Atlassian Access) subscription.
If you also use Jira Cloud, you can use the following API endpoint to create and invite a user:
You can use "products": [] in the request's data, so that the new user doesn't gain access to Jira, like this:
--data '{
"emailAddress": "some-email@domain.com",
"products": []
}'
You can then use the Org Directory APIs to add or remove a user from groups:
You can also find some tutorials here (navigate to the different tutorials from the left sidebar):
If you use User provisioning, the API to create a user is the following:
I went ahead and created a feature request for the ability to create / invite a new org user via API (for customers who don't use Jira Cloud or User Provisioning):
Kind regards,
Theodora
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.