• 765
    • 87
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Problem Definition

      It is very nice to be able to create new users via the API so that you can easily handle new hire employees, but the same should be true for employees that leave.

      Suggested Solution

      It would be good to be able to disable them via the API as well. For larger companies with lots of churn this can be very useful.

      Currently when trying to disable a bunch of old users via the API using the /rest/api/2/user endpoint via PUT:

      { "username": "abbasm", "active": false }

      Returns:
      {
      "errorMessages": [
      "error.no.value.found.to.be.changed"
      ],
      "errors": {}
      }

      Workarounds

      No workaround

          Form Name

            [ID-8462] JIRA API disabling users

            Hi there,

            We have apps in the Marketplace, Automated User Management for Jira and Automated User Management for Confluence that do this;

             

            Effortless User Management for Jira & Confluence;

            Automated User Management - Deactivate Inactive Users and Bulk User Changes

             

            • Streamline your Jira user management with our Automated User Management for Jira & Confluence.
            • Save time, cut administration costs, and ensure optimal license usage.
            • Automatically deactivate inactive users, schedule bulk updates, and track changes with ease.
            • Don’t let unused licenses drain your budget—take control with smart, automated solutions.
            • Built with Atlassian Forge for heightened security, our app empowers you to manage your Jira users efficiently.

            Please check them out here;

            https://marketplace.atlassian.com/apps/1232779/automated-user-management-for-jira?tab=overview&hosting=cloud

            https://marketplace.atlassian.com/apps/1232805/automated-user-management-for-confluence?tab=overview&hosting=cloud

             
             
            thanks,

            Catch Software

            Sales CatchSoftware added a comment - Hi there, We have apps in the Marketplace,  Automated User Management for Jira  and  Automated User Management for Confluence  that do this;   Effortless User Management for Jira & Confluence; Automated User Management - Deactivate Inactive Users and Bulk User Changes   Streamline your Jira user management with our Automated User Management for Jira & Confluence. Save time, cut administration costs, and ensure optimal license usage. Automatically deactivate inactive users, schedule bulk updates, and track changes with ease. Don’t let unused licenses drain your budget—take control with smart, automated solutions. Built with Atlassian Forge for heightened security, our app empowers you to manage your Jira users efficiently. Please check them out here; https://marketplace.atlassian.com/apps/1232779/automated-user-management-for-jira?tab=overview&hosting=cloud https://marketplace.atlassian.com/apps/1232805/automated-user-management-for-confluence?tab=overview&hosting=cloud     thanks, Catch Software

            Well if this one is still gathering Interest, I am not sure if anything else is going to get prioritized. 

            About 456 people have upvoted for this and the issue was created in the year 2015. 

             

            What Atlassian Prioritization Policy is this ticket following ? 

            @Stefan Scorse, 

            Any update on this Ticket Please ? 

            Bhanu Prakash added a comment - Well if this one is still gathering Interest, I am not sure if anything else is going to get prioritized.  About 456 people have upvoted for this and the issue was created in the year 2015.     What Atlassian Prioritization Policy is this ticket following ?   @Stefan Scorse,  Any update on this Ticket Please ?  

            Diana C added a comment -

            This would also be extremely helpful to have for deactivating JSM Customer users.

            Diana C added a comment - This would also be extremely helpful to have for deactivating JSM Customer users.

            If watching this add your votes also to the following, perhaps then it may get traction to be implemented

            Currently votes are divided across multiple aged tickets, if the votes were consolidated, then the pressure is on to get this implemented

            JRACLOUD-37294 Allow set active/inactive via REST API - Create and track feature requests for Atlassian products.

            • created 03/Mar/2014
            • 216 votes

            JRACLOUD-44801 JIRA API disabling users - Create and track feature requests for Atlassian products. 

            • created 14/Aug/2015 
            • 396 votes

            JRACLOUD-70752 Provide public REST APIs for user management as in server - Create and track feature requests for Atlassian products.

            • created 11/Oct/2018
            • 28 votes

            ID-7711 REST API to activate/deactivate users - Create and track feature requests for Atlassian products.

            • created 16/Jun/2020
            • 87 votes

            Mark J Cunningham added a comment - If watching this add your votes also to the following, perhaps then it may get traction to be implemented Currently votes are divided across multiple aged tickets, if the votes were consolidated, then the pressure is on to get this implemented JRACLOUD-37294 Allow set active/inactive via REST API - Create and track feature requests for Atlassian products. created 03/Mar/2014 216 votes JRACLOUD-44801 JIRA API disabling users - Create and track feature requests for Atlassian products.  created 14/Aug/2015  396 votes JRACLOUD-70752 Provide public REST APIs for user management as in server - Create and track feature requests for Atlassian products. created 11/Oct/2018 28 votes ID-7711 REST API to activate/deactivate users - Create and track feature requests for Atlassian products. created 16/Jun/2020 87 votes

            https://developer.atlassian.com/cloud/admin/user-management/rest/api-group-lifecycle/#api-users-account-id-manage-lifecycle-disable-post

            Only works on disabling a verified domain, not in my case an instance with over 40 different domains using it.

            Need a way of deactivating an account in the instance, ie switching "active": true to "active": false

            Mark J Cunningham added a comment - https://developer.atlassian.com/cloud/admin/user-management/rest/api-group-lifecycle/#api-users-account-id-manage-lifecycle-disable-post Only works on disabling a verified domain, not in my case an instance with over 40 different domains using it. Need a way of deactivating an account in the instance, ie switching "active": true to "active": false

            Belinda Baker added a comment - Is this the API that was in testing in Jan 2023? https://developer.atlassian.com/cloud/admin/user-management/rest/api-group-lifecycle/#api-users-account-id-manage-lifecycle-disable-post

            Has anyone came across a solution to remove the ability to assign issues to a user if they are scheduled to be absent? Annual leave for example...

             

             

             

             

             

             

             

             

            Darren Pegg added a comment - Has anyone came across a solution to remove the ability to assign issues to a user if they are scheduled to be absent? Annual leave for example...                

            Interested in testing out our new Suspend/Restore API?

            We'd like to get feedback before making it public.

            Please email me to set up a time for a conversation.

            Thanks.  jrautenberg@atlassian.com 

             

             c7298a463877 8f86ce8482db 5cd3b8579672 65f093e1850f 5effcdddb919 

            Josh Rautenberg (Inactive) added a comment - Interested in testing out our new Suspend/Restore API? We'd like to get feedback before making it public. Please email me to set up a time for a conversation. Thanks.  jrautenberg@atlassian.com       c7298a463877 8f86ce8482db 5cd3b8579672 65f093e1850f 5effcdddb919  

            bump

            Hi,

            we have a use case to disable users via API (not delete them) as well. So big +1 from us.

            Deleted Account (Inactive) added a comment - - edited Hi, we have a use case to disable users via API (not delete them) as well. So big +1 from us.

              2015ae912494 Stefan Scorse
              kgrier kitkat (Inactive)
              Votes:
              476 Vote for this issue
              Watchers:
              281 Start watching this issue

                Created:
                Updated: