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

Invitations endpoint return 404

Alejandro Petit
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 27, 2024

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

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 29, 2024

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

Alejandro Petit
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 21, 2024

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

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 25, 2024

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

Like Alejandro Petit likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events