Manage User Passwords
Use the sObject User Password resource to set, reset, or get information about a user password. Use the HTTP GET method to get password expiration status, the HTTP POST method to set the password, and the HTTP DELETE method to reset the password.
The associated session must have permission to access the given user password information. If the session does not have proper permissions, an HTTP error 403 response is returned from these methods.
These methods are available for both users and self-service users. For managing self-service user passwords, use SelfServiceUser instead of User in the REST API URL.
Here is an example of retrieving the current password expiration status for a user:
None required
Here is an example of changing the password for a given user:
No response body on successful password change, HTTP status code 204 returned.
And finally, here is an example of resetting a user password:
None required
See Also