Skip to main content

Set the default grid columns (merge patch).

PATCH/api/v1/company/settings/grid-defaultssettings:write

A column left out is stored hidden; at least one must be visible. Open sessions reload the setting.

Scopesettings:write (sensitive)
AsynchronousNo
MCP toolupdate_company_settings_grid_defaults

Parameters​

NameInTypeRequiredDescription
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Request body​

Content typeType
application/jsonGridDefaultsPatchInput
application/merge-patch+jsonGridDefaultsPatchInput

Responses​

StatusDescriptionBody
200Success.application/json GridDefaults or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

GridDefaults​

FieldTypeRequiredDescription
defaultsobjectRequiredThe tenant-wide default, each grid's override, the resolved layout of every grid and the column catalogue.

GridDefaultsPatchInput​

FieldTypeRequiredDescription
defaultobject or nullOptionalThe tenant-wide layout (columns, sort); null resets it.
defaultsobject or nullOptionalThe resolved layout as read; accepted when unchanged.
overridesobject or nullOptionalLayouts keyed by grid; null for a grid removes its override.