Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

invitationDisabled while creating a user

I'm trying to create a user using API but as mentioned in the API, this field "invitationDisabled" is not working. I have tried with setting the value for this attribute to true, but the user still receives an invitation link.

1 answer

0 votes
Nick H Atlassian Team Sep 12, 2020

Hi @dhiman.das ,

I was able to test and confirm the "invitationDisabled" should work as expected - I was able to invite users via API and not have invitations send. The syntax would look something like this:

{
"username": "xyz123@opsgenie.com",
"fullName": "john doe",
"invitationDisabled": "false",
"role": {
"name": "Admin"
}
}
Here is an example through Postman:
userapi comm1.jpguserapi comm2.jpg

Thank you for your reply. But this is not working for me. The user always receives an invitation. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Opsgenie

Leveraging Atlassian’s Opsgenie and AWS Cloudformation Registry to stay ahead of incidents

In the past, managing IT infrastructure was a hard job. It required a lot of manual effort and it was hard to keep track of all the necessary information (monitoring, scalability etc). Thankfully, as...

2,427 views 0 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you