Skip to main content

updateUserSettings

Requires at least one of the permissions settings:tenant:update or settings:user:update.

Updates the user settings: default language, timezone, date and time format and currency, multiple logins, profile image size and notifications. Returns the saved settings. Needs settings:user:update, or 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 UpdateUserSettings($input: UserSettingsInput!) {
updateUserSettings(input: $input) {
id
createdAt
category
dataType
description
enteredBy
}
}

Variables:

{
"input": {}
}

Response:

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

Arguments​

updateUserSettings.input ● UserSettingsInput! non-null input​

The user settings to change; fields left out stay as they are.

Type​

TenantSetting object​

A setting of the organization.