curl --request POST \
--url https://apigw.bienport.com/api/user/invite \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'OrganizationId: <organizationid>' \
--data '
{
"emailAddress": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"orgIds": [
123
],
"roleIds": [
123
],
"screenName": "<string>",
"userPrivilegeGroupAndAuthResources": {
"userId": 20199,
"authorizedResourceIds": [
170174
],
"privilegeGroups": [
{
"privilegeGroupId": 1,
"authorized": true
}
],
"organizationId": 31547,
"expirationTime": 1644466338000,
"period": [
{
"dayOfWeek": 1,
"start": 125,
"end": 126
}
],
"validityStart": 1645466338000
}
}
'