User invites / List by user
List active user/tenant invites from a user perspective
Route: /api/sys/v{version:apiVersion}/user_invites/list_by_user
Method: GET
Authorisation: Minimum role: USER
Request Arguments
Name | Type | Source |
---|
Request body example
Response object
Response status: 200 (OK)
Response type: DTO_user_invite_tenant[]
Wrapper: DTO_response_wrap
Other response statuses: 400 (BadRequest), 403 (Forbidden)
Response body example
DTO_user_invite_tenant
Name | Type | ReadOnly | Description |
---|---|---|---|
tenant | DTO_tenant | Tenant | |
groups | DTO_reference[] | Groups | |
id | Int32 | ReadOnly | Id |
String | |||
tenant_role | ENUM tenant_user_role | Tenant role | |
expires_date | DateTime | ReadOnly | Expires date |
expires_relative | String | ReadOnly | Expires relative |
DTO_tenant
Name | Type | ReadOnly | Description |
---|---|---|---|
language | DTO_translation_language | Language | |
mailboxes | DTO_reference_mailbox[] | Mailboxes | |
id | Int32 | ReadOnly | Id |
friendly_name | String | Friendly name | |
unique_name | String | Unique name | |
fqdn | String | ReadOnly | Fqdn |
created | DateTime | Created | |
user_count | Int32 | ReadOnly | User count |
logo | String | ReadOnly | Logo |
plan | ENUM tenant_plan | ReadOnly | Plan |
time_zone | String | Time zone |
DTO_translation_language
Name | Type | ReadOnly | Description |
---|---|---|---|
id | Int32 | ReadOnly | Leave empty on input |
name | String | Name | |
code | String | Code | |
icon | String | ReadOnly | Icon |
icon_sqare | String | ReadOnly | Icon sqare |
DTO_reference_mailbox
Name | Type | ReadOnly | Description |
---|---|---|---|
type | ENUM mailbox_type | ReadOnly | Type |
status | ENUM mailbox_status | ReadOnly | Status |
id | Int32 | Id | |
label | Object | ReadOnly | Label |
DTO_reference
Name | Type | ReadOnly | Description |
---|---|---|---|
id | Int32 | The id of the reference | |
label | Object | ReadOnly | Name/Label from referenced object. |
ENUM tenant_plan
Value | Name | Description |
---|---|---|
0 | UNKNOWN | UNKNOWN |
1 | FREE | FREE |
2 | SMALL | SMALL |
3 | MEDIUM | MEDIUM |
4 | LARGE | LARGE |
ENUM mailbox_type
Value | Name | Description |
---|---|---|
0 | UNKNOWN | UNKNOWN |
1 | PLATFORM_PROVIDED | Built in @tenant.deskhero.com |
2 | DNS | DNS setup / Custom Email domain |
3 | MICROSOFT | Auth2 Microsoft365 provided |
4 | Auth2 Google provided |
ENUM mailbox_status
Value | Name | Description |
---|---|---|
0 | UNKNOWN | UNKNOWN |
1 | ACTIVE | ACTIVE |
2 | ACTIVATION_IN_PROGRESS | ACTIVATION_IN_PROGRESS |
101 | REQUIRE_REAUTH | REQUIRE_REAUTH |
102 | REQUIRE_FORWARD | REQUIRE_FORWARD |
ENUM tenant_user_role
Value | Name | Description |
---|---|---|
0 | UNKNOWN | UNKNOWN |
1 | OWNER | Owner |
2 | ADMIN | Admin |
3 | USER | User |