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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -