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
Posted in Opsgenie

Incident Responders, Incident Commanders, Stakeholders! I want to hear from YOU!

Hello there friendly community! I'm currently working on a guide for folks who are new to Incident Management, or want to improve their current Incident Management process. The TL;DR  I'd...

175 views 5 3
Join discussion

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