Payload for POST /admins.
Contains the user details of an admin which will be created.
| name | data type | constraints | description |
|---|---|---|---|
| login | string | required, regex: [-_a-zA-Z0-9]*, max size: 20, min size: 1 | Login name of the new administrator. |
| password | string | required, max size: 50, min size: 8 | Password which will be used together with the getLogin to log into the URN administration. |
| surname | string | required, max size: 50, min size: 1 | Surname of the new administrator. |
| forename | string | required, max size: 50, min size: 1 | Forename of the new administrator. |
| string | required, regex: .+@.+, max size: 254, min size: 6 | Email address of the new administrator. | |
| phone | string | required, regex: [-+() 0-9]*, max size: 50, min size: 1 | Phone number of the new administrator. |
Example
{
"login" : "TestAdmin",
"password" : "enigma",
"surname" : "Turing",
"forename" : "Alan",
"email" : "a.turing@example.org",
"phone" : "+49 69 1525 0"
}