WebService role remove and user disable during user leaver

Hey everyone!
I have a use case for our web service connector I could use some advice on how to best try and figure out a solution.

Use case:
When the user Lifecyclestatus changes from active to terminated/dormant , all his entitlements should be removed and his account should be disabled.

What could be the best approach to achieve this requirement webservice connector. Both the requirements should be included in same operation.

Thanks
Kalyan

Looks like same requirement, check this post

Webservice connector: role revoke and user disable - Identity Security Cloud (ISC) / ISC Discussion and Questions - SailPoint Developer Community