Skip to main content

updateTenantSetting

Requires permission settings:tenant:update.

Changes one setting by ID. A category that has its own update operation is refused. Needs settings:tenant:update.

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:

mutation UpdateTenantSetting($input: UpdateTenantSettingInput!) {
updateTenantSetting(input: $input) {
id
createdAt
category
dataType
description
enteredBy
}
}

Variables:

{
"input": {
"id": "string"
}
}

Response:

{
"data": {
"updateTenantSetting": {
"id": "id",
"createdAt": "2025-01-15T00:00:00Z",
"category": "ACCOUNTING",
"dataType": "ARRAY",
"description": "string",
"enteredBy": "string"
}
}
}
updateTenantSetting(
input: UpdateTenantSettingInput!
): TenantSetting!

Arguments​

updateTenantSetting.input ● UpdateTenantSettingInput! non-null input​

The setting's ID and the fields to change.

Type​

TenantSetting object​

A setting of the organization.