Payload for PATCH /organisations/id/{id}.
Contains the new values for updating an organisation.
| name | data type | constraints | description |
|---|---|---|---|
| login | string | regex: [-_a-zA-Z0-9]*, max size: 20, min size: 1 | New login id that is used by the organisation to access their account. |
| password | string | max size: 20, min size: 8 | New password that is used by the organisation to access their account. |
| oldPassword | string | max size: 20, min size: 8 | Current password of the organisation. The password can only be changed if the old password is provided at the same time. |
| name | string | max size: 200, min size: 1 | New name of the organisation. |
| string | regex: .+@.+, max size: 254, min size: 6 | New generic email address for contacting the organisation. | |
| address | Address | New postal address of the organisation. | |
| comment | string | max size: 1000, min size: 0 | New human readable comments about the organisation. |
| primaryContactSurname | string | max size: 50, min size: 1 | new surname of the person who is the primary contact for the URN-Service at the organisation. |
| primaryContactForename | string | max size: 50, min size: 1 | New forename of the person who is the primary contact for the URN-Service at the organisation. |
| primaryContactEmail | string | regex: .+@.+, max size: 200, min size: 6 | New personal email address of the person who is the primary contact for the URN-Service at the organisation. |
| primaryContactPhone | string | regex: [-+() 0-9]*, max size: 50, min size: 1 | New phone number of the person who is the primary contact for the URN-Service at the organisation. |
| primaryContactFunction | string | max size: 100, min size: 0 | Describes the new role of the primary contact in the organisation. |
| primaryContactComment | string | max size: 1000, min size: 0 | New human readable comments about the primary contact. |
Example
{
"login" : "dnb",
"password" : "xasg!mk23cfw3e",
"oldPassword" : "1234abc",
"name" : "Deutsche Nationalbibliothek",
"email" : "urn-group@example.org",
"address" : {
"street" : "Adickesallee 1",
"postcode" : "60322",
"city" : "Frankfurt am Main",
"country" : "Germany"
},
"comment" : "This organisation is used for testing purposes only",
"primaryContactSurname" : "Cantor",
"primaryContactForename" : "Georg",
"primaryContactEmail" : "g.cantor@example.org",
"primaryContactPhone" : "+49 69 1525-0",
"primaryContactFunction" : "Team Lead URN-Services",
"primaryContactComment" : "Only in the office until for 1pm"
}