I'm trying to use one of our existing enterprise user administration tools to also provision and manage Salesforce Service Cloud user accounts using the Salesforce API. I am able to provision a user through the API, but I see conflicting information about whether or not the API can be used to de-activate or freeze an account.

Has anyone been able to successfully do this through the API? REST is preferable but if SOAP is the only option I'll take that as well.

2 Answers 2


You can use IsActive field on User object to deactivate a User using SOAP API.


Indicates whether the user has access to log in (true) or not (false). You can modify a User's active status from the user interface or via the API.

To freeze Users, you need to use the UserLogin object and the IsFrozen field. For pointers, you can refer to this knowledge article.


I found it. I was using the HTTP POST method. Updates to existing records must be made with the PATCH method.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .