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

invitationDisabled while creating a user

dhiman.das September 9, 2020

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 Haller
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 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
dhiman.das September 13, 2020

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
Product Admin
TAGS
AUG Leaders

Atlassian Community Events