---
schema_version: "1"
id: 00fafe2272f1f7fc3e9332be91cacad36bca4b48fcc31c183abd86ce1f2420cb
title: Reset User Password
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/api-rest/guides/resources/resources-sobject-user-password-delete.md
canonical_url: https://developer.salesforce.com/docs/platform/api-rest/guide/resources-sobject-user-password-delete.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 329320f9844c4ee83ab0f1c5ec9114444f58745afb18727a54375e52ab69afa8
products:
  - REST API Developer Guide
  - Platform Developer Content
---

# Reset User Password

Initiates a password reset for a user based on the specified user ID. The user’s current password becomes invalid and the user receives an email with a password reset link. To log in again, the user must finish resetting their password. This resource is available in REST API version 24.0 and later.

Salesforce auto-generates a temporary password for the user and returns it in the response body. If the user can’t access the email link, they can finish resetting their password by logging in with the temporary password.

If the session doesn’t have permission to access the user information, an INSUFFICIENT_ACCESS error is returned.

## Syntax

**URI:** `/services/data/vXX.X/sobjects/User/userId/password`

**Formats:** JSON, XML

**HTTP Method:** DELETE

**Authentication:** `Authorization: Bearer token`

**Parameters:** None required

## Example

For examples of getting password information, setting a password, and resetting a password, see [Manage User Passwords](https://developer.salesforce.com/docs/platform/api-rest/do-me/dome-sobject-user-password.md).

**See Also**  


-   [Object Reference for the Salesforce Platform](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/)

