Versions Compared

Key

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

...

  • 200 = Email change request done (pending to be confirmed using link)
  • 304 = Email 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)

  • PUT https://dev-ddb.fiz-karlsruhe.de/api/2/user/59ab798971240c9c3556e627864430a9/email

...

  • 200 = Email change request done (pending to be confirmed using link)
  • 304 = Email 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)

  • PUT https://dev-ddb.fiz-karlsruhe.de/api/2/user/793feaf72b465c17be1e2d86c7a0a057

...

^ Back to top

...

US13 | Get user by id

GET

/{id}

Admin permission required

...

  • 200 = User successful retrieved
  • 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


^ Back to top

...