UpdateAdminRequest Data Type

Payload for PATCH /admins/login/{login}.

Contains values of an admin record that should be updated.

Properties
name data type constraints description
login string regex: [-_a-zA-Z0-9]*, max size: 20, min size: 1 The new login name of the administrator.
password string max size: 50, min size: 8 The new password of the administrator.
surname string max size: 50, min size: 1 The new surname of the administrator.
forename string max size: 50, min size: 1 The new forename of the administrator.
email string regex: .+@.+, max size: 254, min size: 6 The new email address of the administrator.
phone string regex: [-+() 0-9]*, max size: 50, min size: 1 The new phone number of the administrator.

Example

{
  "login" : "TestAdmin",
  "password" : "enigma",
  "surname" : "Turing",
  "forename" : "Alan",
  "email" : "a.turing@example.org",
  "phone" : "+49 69 1525 0"
}