Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • GET https://dev-ddb.fiz-karlsruhe.de/api/2/user/email/testuser@ddb.de


^ Back to top

US09 | Change user password

GET

/{id}/password

User permission required

Response payload

Code Block
languagejs
themeMidnight
titleUser object
linenumberstrue
collapsetrue
{
    "id": "2443f6d538fd09d00b5f8add909fc2a5",
    "nickname": "testuser",
    "status": "CONFIRMED",
    "surName": "surname is unknown",
    "email": "testuser@ddb.de",
    "created": "2024-03-07T11:04:58",
    "creatorId": "anonymous",
    "modified": "2024-03-07T11:06:32",
    "modifierId": "anonymous"
}

Status codes

  • 200 = User successful retrieved
  • 304 = Password could not changed
  • 400 = Bad Request
  • 401 = User not authorized to login
  • 403 = Authentication temporarily blocked
  • 404 = User not found
  • 423 = User is blacklisted
  • 428 = User has "unconfirmed" status
  • 500 = Internal server error

Example call(s)

  • GET https://dev-ddb.fiz-karlsruhe.de/api/2/user/2443f6d538fd09d00b5f8add909fc2a5/password


^ Back to top

...