curl --request POST \
--url https://api.xenia.team/api/v1/admin/hotels/{HotelId}/users \
--header 'Content-Type: application/json' \
--header 'x-client-key: <api-key>' \
--header 'x-client-secret: <api-key>' \
--data '{
"invite": false,
"isOnboardingFlow": false,
"rows": [
{
"data": {
"firstName": "user",
"lastName": "name",
"emailId": "user.email@temp.com",
"roleId": "9f1e53b3-a417-4345-882f-2c9b44da040b",
"password": "tempass",
"hotelId": "cb363f7e-c52a-4478-911d-f6a6f791090e",
"locations": [
"b9164b03-60c2-4500-89a4-f490e38c9872",
"a13ddb59-3e5c-4bdd-8673-fc913b93b9db"
]
}
}
],
"inviteBy": "email"
}'