- Authorize in the Vantage API, see Authentication for details.
- Send a POST request with the
Authorization = Bearer <access token>header to{baseUrl}/api/publicapi/v1/invites/, with the following request body parameters:
| Parameter | Description |
|---|---|
email | The newly created Tenant Administrator’s e-mail. |
validWithin | Time from the moment of sending, during which an invite can be accepted. The format is as follows: days.hours:minutes:seconds. The default value of the parameter is “14.00:00:00” (14 days). |
tenantName | The tenant’s name. Tenant names are unique within the system. If the specified name is already taken by some other tenant, an error will occur when trying to create a new tenant with that same name. |
useMySybscription | Specifies whether the subscription of the current tenant will be used. If the current tenant’s subscription is used, then both tenants (the current one and the new one) will use pages from the same counter. If one of the tenant uses up all remaining pages of that counter, neither of the tenants will then be able to use it. The default value of the parameter is False, meaning that a new subscription file needs to be downloaded. |
tenantDescription | The tenant’s description. Any string that describes the tenant. This string will be shown to the System Administrator. |
