Retrieve last user password date and timestamp

Retrieves the last user password change date timestamp.

Request

GET /GmaApi/users/{username}/passwordLastChanged

Example cURL requests

curl -X GET https://hostname:9080/GmaApi/users/testDemote/passwordLastChanged -H "Authorization: Bearer 3d07d3e6-7d64-4a7c-847f-002b163e5abc"

Resource URI

https://hostname/GmaApi/users/{username}/passwordLastChanged

Authorization header

For information about obtaining an access token, see Request an access token.

Request parameters

Table 1. Path parameters
Parameter Type Required Description
username String Yes The unique uid of a user.

Example response

{
  "status": "success",
  "entry": {
    "passwordLastChanged": "Aug 07,2018 09:07:49 AM"
  }
}

Response parameters

Table 2. Response parameters
Parameter Description
status Returns whether the request was successful. Returns an error when the request is unsuccessful. For more information about errors, see Errors.
passwordLastChanged Contains value for user's last password changed date with format "Month Date,Year Hrs:Mins:Seconds AM/PM".