Skip to main content
objectTenant

Implements

Fields

appSettings

Tenant-level settings in one app's namespace; all of them unless keys narrows it down.

Arguments
appKey
keys
[String!]
createdAt

When the tenant was created (UTC).

deletedAt

When the tenant was deleted (UTC). Null while it's live.

displayName
String!

Name of the tenant shown in Studio, 3 to 50 characters.

id
ID!

Global id of the tenant. node resolves it only for the tenant you're signed in to. TenantUser.tenantId and DataProvider.tenantId hold the raw UUID.

isDeleted
Boolean!

True if the tenant is deleted.

Roles you can give users in the tenant. inviteUserToTenant and replaceUserRoles take them by Role.key.

Arguments
after
String

Returns the elements in the list that come after the specified cursor.

before
String

Returns the elements in the list that come before the specified cursor.

first
Int

Returns the first n elements from the list.

last
Int

Returns the last n elements from the list.

safeName
String!

Short name of the tenant, unique across Occtoo: camelCase letters and digits, 3 to 50 characters (e.g. acme). Set when the tenant is created; can't change.

Languages of the tenant and its master language.

tenantUsers

List of users assigned to the tenant

Use `users` field instead
Arguments
after
String

Returns the elements in the list that come after the specified cursor.

before
String

Returns the elements in the list that come before the specified cursor.

first
Int

Returns the first n elements from the list.

last
Int

Returns the last n elements from the list.

tier

Plan the tenant is on. Platform administration; not needed for integrations.

tierId
String

Raw id of the tenant's tier (Tier.id holds the global one). Null if it has none. Platform administration; not needed for integrations.

usageLimits

Effective usage limits for the tenant (tier defaults overlaid with per-tenant overrides).

Users with access to the tenant, invited ones that haven't signed in yet included. Filter status: ACTIVE for users who have signed in. Returns all users in one page.

Arguments
after
String

Returns the elements in the list that come after the specified cursor.

before
String

Returns the elements in the list that come before the specified cursor.

first
Int

Returns the first n elements from the list.

last
Int

Returns the last n elements from the list.