UserAccount
Create user account
Changed onCreates user account from application/x-www-form-urlencoded fields matching UserMod.
post/admin-api/v1/useraccount
Request
- Base URL: http://localhost:8080
- URL: http://localhost:8080/admin-api/v1/useraccount
- Auth: oauth (defined in the document in a form this page cannot read)
Query parameters
institutionIdinteger
The institution identifier of the request. Default is the institution identifier of the institution of the current user
Response
Created user account.
Example response
{
"uuid": "f91f9c0a-15a1-4c65-89c2-2b60310f2c12",
"institutionId": 1,
"name": "Ada",
"surname": "Lovelace",
"username": "ada.lovelace",
"email": "ada@example.org",
"active": true,
"directLogin": true,
"localAccount": true,
"language": "en",
"timezone": "Europe/Zurich",
"entityPrivileges": [
{
"id": 42,
"entityType": "EXAM",
"entityId": 120,
"userUuid": "f91f9c0a-15a1-4c65-89c2-2b60310f2c12",
"privilegeType": "READ"
}
]
}Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- breaking
the
request property format changed from no format toemail - warning
removed the request property
- warning
removed the request property
- breaking