---
schema_version: "1"
id: d87cfe2c7eadeb2117c0c95aa23ae6d17a241f8374e0bfd97683d2ecf10f9eff
title: Get User Password Expiration Status
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-get.md
canonical_url: https://developer.salesforce.com/docs/platform/api-rest/guide/resources-sobject-user-password-get.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f05ec66e3f2bf29af2496055795a2d38a4c3989d8edebb1e6cea835998fabdb1
products:
  - REST API Developer Guide
  - Platform Developer Content
---

# Get User Password Expiration Status

Gets a user’s password expiration status based on the specified user ID. A True or False value is returned in the response body. This resource is available in REST API version 24.0 and later.

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:** GET

**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/)

