php - Deactivate users using JIRA SOAP API -
i trying deactivate users in jira using php script , jira soap api.
i googled , got deleteuser() method deleting users unable find how make user inactive instead of deleting user.
is there way deactivate user using soap api?
please find code below deletes 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 not correct!'); $result = $soapclient->deleteuser($token, 'testuser');
thanks in advance...
Comments
Post a Comment