Change an interface (JSON Merge Patch).
PATCH/api/v1/interfaces/{interface_id}analytics:write
| Scope | analytics:write |
| Asynchronous | No |
| MCP tool | update_interface |
| Portal permissions | edit_virtual_interfaces |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
interface_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
If-Match | header | string | Optional |
Request body
| Content type | Type |
|---|---|
application/json | InterfacePatchInput |
application/merge-patch+json | InterfacePatchInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json Interface 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 |
404 | not_found | 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
Interface
| Field | Type | Required | Description |
|---|---|---|---|
created_by | UserRef or null | Required | |
document_type_ids | array of string | Required | |
filters | object or null | Required | format interface_filters: the interface's filters; null in list items. |
group_ids | array of string or null | Required | Groups that may see the interface; null without View Virtual Interface Security and View Groups. |
interface_group_id | string or null | Required | |
interface_id | string | Required | |
layout | object or null | Required | format interface_layout: the panels and charts; null in list items. |
name | string | Required | |
settings | object or null | Required | format interface_settings: show_as_app and app_icon (list the interface as an app), panel_style (the interface-wide panel appearance) and mappings (filter column mappings). The validation rules are not part of it: they are the validations sub-resource. |
user_ids | array of string or null | Required | Users that may see the interface; null without View Virtual Interface Security and View Users. |
InterfacePatchInput
| Field | Type | Required | Description |
|---|---|---|---|
created_by | UserRefInput or null | Optional | |
document_type_ids | array of string or null | Optional | |
filters | object or null | Optional | |
group_ids | array of string or null | Optional | |
interface_group_id | string or null | Optional | |
interface_id | string or null | Optional | |
layout | object or null | Optional | |
name | string or null | Optional | |
settings | object or null | Optional | format interface_settings; only the members its body sends change and null clears one to its default. The validation rules and any other stored setting are kept. |
user_ids | array of string or null | Optional |
UserRef
| Field | Type | Required | Description |
|---|---|---|---|
display_name | string | Required | |
kind | string: user, system, integration or string | Required | |
user_id | string or null | Required |
UserRefInput
| Field | Type | Required | Description |
|---|---|---|---|
display_name | string | Optional | |
kind | string: user, system, integration | Optional | |
user_id | string or null | Optional |