{
"user": {
"id": 0,
"name": "string",
"surname": "string",
"userName": "string",
"emailAddress": "user@example.com",
"phoneNumber": "string",
"password": "string",
"isActive": true,
"shouldChangePasswordOnNextLogin": true,
"isTwoFactorEnabled": true,
"isLockoutEnabled": true
},
"assignedRoleNames": [
"string"
],
"sendActivationEmail": true,
"setRandomPassword": true,
"organizationUnits": [
0
]
}
curl --location --request POST '/api/services/app/User/CreateOrUpdateUser' \
--header 'Content-Type: application/json' \
--data-raw '{
"user": {
"id": 0,
"name": "string",
"surname": "string",
"userName": "string",
"emailAddress": "user@example.com",
"phoneNumber": "string",
"password": "string",
"isActive": true,
"shouldChangePasswordOnNextLogin": true,
"isTwoFactorEnabled": true,
"isLockoutEnabled": true
},
"assignedRoleNames": [
"string"
],
"sendActivationEmail": true,
"setRandomPassword": true,
"organizationUnits": [
0
]
}'
{}