Invite Users to Tenant
Invites and outreaches new User for current Tenant
Endpoint
Request Type | URL |
|---|---|
POST | https://{EnvironmentURL}/identity/api/invite |
Headers
Parameter | Type | Mandatory | Description |
|---|---|---|---|
x-api-version | string | Yes | 1.0 |
Request body
Body - JSON
Parameter | Type | Mandatory | Description |
|---|---|---|---|
string | Yes | Email of new User | |
phone | string | Yes | Mobile phone of new User |
tenant | string | Yes | Client_Tenant |
isDirector | bool | Yes | True if new User is one of the Directors of Organisation |
Responses
Success
Body - JSON
{
"isSuccess": true,
"isCancelled": true,
"errors": [{
"code": "string",
"description": "string",
"data": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
}
}]
}
401 - Unauthorized
No Body
Last modified: 19 января 2024