You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Want to know Jira Align API for Deactivate the user
Referd the below Doc but not able to find the API
https://<site-url>/rest/align/api/docs/index.html
Hi @Mohamed Musheer,
Nice question!
Assuming a few things...
a) You've read the following Help Center articles: 10X: API 2.0
b) You've looked at the specific documentation (aka Swagger), that's available in your Jira Align instance: https://instance.jiraalign.com/rest/align/api/docs/index.html
c) You have a valid API 2.0 token, and corresponding grants to perform this operation in UI
To deactivate a user, by using Jira Align API 2.0, make the following call:
PATCH https://instance.jiraalign.com/rest/align/api/2/Users/<id>
Where <id> is the userId of your user.
As request body, use the following JSON:
[
{
"op": "replace",
"path": "/locked",
"value": -1
}
]
A successful deactivation call should return an HTTP 204 (Success) response code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.