This handler uses Salesforce's REST API to disable a user in Salesforce. The first thing that the handler does is obtain an access token using the inputted info values, which is used to authenticate the rest of the calls that are made. Next, the handler makes a call to retrieve the user id that corresponds to the inputted username. One last REST call is then made to Salesforce using that user id to disable the desired user by setting the IsActive flag to false.
|Username||Username of the account that will be disabled.|
This handler does not return any results.
Salesforce User Disable V1.1 (2017-09-12)
Salesforce User Disable V1 (2013-09-09)