I am trying to deactivate users in JIRA using php script and JIRA SOAP Api.
I googled it for and got deleteUser() method for deleting users but unable to find how to make user inactive instead of deleting the user.
Is there any way to deactivate the user using SOAP api?
Please find the code below which deletes the user:
<?php set_time_limit(0); session_start(); $soapClient = new SoapClient("http://jira.abc.com/jira/rpc/soap/jirasoapservice-v2?wsdl"); $token = $soapClient->login('abc', 'abc') or die('Username/Password is not correct!'); $result = $soapClient->deleteUser($token, 'testUser');
Thanks in advance...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.