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.
| Scope | settings:write (sensitive) |
| Asynchronous | No |
| MCP tool | update_company_settings_grid_defaults |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Docwize-Version | header | string (date) | Optional | |
If-Match | header | string | Optional |
Request body
| Content type | Type |
|---|---|
application/json | GridDefaultsPatchInput |
application/merge-patch+json | GridDefaultsPatchInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json GridDefaults or object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
412 | precondition_failed | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
GridDefaults
| Field | Type | Required | Description |
|---|---|---|---|
defaults | object | Required | The tenant-wide default, each grid's override, the resolved layout of every grid and the column catalogue. |
GridDefaultsPatchInput
| Field | Type | Required | Description |
|---|---|---|---|
default | object or null | Optional | The tenant-wide layout (columns, sort); null resets it. |
defaults | object or null | Optional | The resolved layout as read; accepted when unchanged. |
overrides | object or null | Optional | Layouts keyed by grid; null for a grid removes its override. |