Skip to main content

tenantSettingsByCategory

Requires permission settings:tenant:read.

Lists the active settings of one category. Needs settings:tenant:read.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query TenantSettingsByCategory($category: String!) {
tenantSettingsByCategory(category: $category) {
id
createdAt
category
dataType
description
enteredBy
}
}

Variables:

{
"category": "string"
}

Response:

{
"data": {
"tenantSettingsByCategory": [
{
"id": "id",
"createdAt": "2025-01-15T00:00:00Z",
"category": "ACCOUNTING",
"dataType": "ARRAY",
"description": "string",
"enteredBy": "string"
}
]
}
}
tenantSettingsByCategory(
category: String!
): [TenantSetting!]!

Arguments​

tenantSettingsByCategory.category ● String! non-null scalar​

The settings category, for example company or sales. Not case sensitive.

Type​

TenantSetting object​

A setting of the organization.