Please let me know which api i can use to suspend and update profile of user
Hi @ManpreetSingh,
Thanks for getting in touch.
To update a user profile, or disable a user from an Atlassian site, you use the user management REST API - this is for all cloud users, so it’s not a part of the JIRA Api:
https://developer.atlassian.com/cloud/admin/user-management/rest/intro/#about
As for suspending access in just Jira Cloud, that works a little different.
For Jira, users are granted access to the product based on which groups they are in, so you’d need to work out which group(s) the user is a member of that gives them access and remove them from those groups.
You can do this using the Groups API in Jira:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-groups/#api-group-groups
I hope this helps!
Cheers,
Melissa
1 Like