Create a new User
POST
/v1/users
curl \
-X POST http://localhost:4000/v1/users \
-H "Content-Type: application/json" \
-d '{"user":{"id":"\u003cuuid v4\u003e","email":"dozent@traeger.de","roles":["lecturer"],"lastName":"Dozentos","firstName":"Daniel"}}'
Request examples
{
"user": {
"id": "<uuid v4>",
"email": "dozent@traeger.de",
"roles": [
"lecturer"
],
"lastName": "Dozentos",
"firstName": "Daniel"
}
}
Response examples (200)
{
"data": {
"id": "<uuid v4>",
"email": "dozent@traeger.de",
"roles": [
"lecturer"
],
"lastName": "Dozentos",
"firstName": "Daniel"
}
}