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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Enabling site access on JIRA CLOUD to user using REST API



We created users using administrators account. New users are appeared in Users section on JIRA, but created users are not having access on site.

We have hundreds of users and dont want to do it manually from each user's details page.


Is any API option to make this, so I can put in script and iterate for all users.


Tried with curl command as:

curl --insecure -D- --show-error -u admin:pass -X POST --data '{"name":"clientuser","active":"true"}' -H "Content-Type: application/json"


but it saying user already exists



Gone through tried to use PUT, but saying method not available.



3 answers

HI Alexey Matveev _cPrime_ I am not sure why are you telling everyone the same answer that the user needs to be added to the group.
Very often I have a user that I want to disable but I do not want to delete the user because we have a policy to keep the user disabled for 3 months and then delete the user.

The user is usually part of multiple groups and usually it has a confluence and JIRA Software license, sometimes also the Service desk license.

I just want to flip the switch "Has access on site" via API because the command is part of my off-boarding application.

Any ideas how to set the Active field to False by using PUT and this uri ?


I would appreciate your help.

Same here: is there a way of granting / disabling a user from "access on site" (equivalent of the following toggle in the Access section of the User details page):




programmatically / via REST API?

0 votes
Vinicius Oliveira
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!
Jan 10, 2023

Has anyone been able to achieve this? I have the exact same use case: grant SITE ACCESS to new and existing users via rest API. I can see that users inherit roles and product access through group membership, but I still can't understand why site access isn't managed the same way in Jira.

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 07, 2019


I guess, the users, you created, are not included in any group, which grants access to your site.

You can do it two ways:

1. Go to Product -> Product Access and enable the New users have access to this product. In this case new users will be added automatically to the default group for the product (existing users will not be added):

Screenshot 2019-03-08 at 09.58.50.png2. Execute another Rest Api request to add the created users to a group, which are presented in the Product -> Product Access screen



I have the same issue but I have already added the users to groups and i checked new users have access to the product but still Access site is greyed out

Hi Alexey, I tried both ways but like Jason, I'm also not able to grant access programmatically. Adding a user to a group with Jira access does not switch the Has access on site toggle. Are there any other options on how we can achieve this? We also have many users that need to be created programmatically but we are not able to work with these newly created users (e.g. assign them to issues) because that toggle is off.  Thanks.

Suggest an answer

Log in or Sign up to answer