you need to deactivate that user : https://answers.atlassian.com/questions/127643/how-to-deactivate-a-user-programmatically-java-rest-sql
JIRA run whitin a java jvm .. this hardly mix with php.
if you want to use php , then you just have to call the jira rest api from your php code. you can easily do some rapide prototyping with curl or any tools of choices for rest :
if you dont want to make 2 disctinct call , you can create a REST Service Plugin with the above mentioned code , and then call this url from you php code .
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs