User Activation/Deactivation
JIRA does not have user activation/deactivation REST services which makes it tough to automate user activation. JEP comes with two REST services which makes it possible to activate/deactivate a user.
These REST services require JIRA admin privileges.
User Deactivation
Deactivates user
URL:Â {JIRA_BASE_URL}/rest/jep-api/latest/user/{userkey}/deactivate
Method: GET
Sample output :Â {"success": true}
User Activation
Activates user
URL:Â {JIRA_BASE_URL}/rest/jep-api/latest/user/{userkey}/activate
Method: GET
Sample output :Â {"success": true}