curl --location --request POST '/spaces//share' \
--header 'Websync-Session;' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "string",
"role": 0
}'
{
"member": null,
"invite": {
"id": 95,
"email": "dfbfbfbdffbf12312312312323d@mail.ru",
"role": 0
},
"activeOrganizationUsersCount": 17
}