Skip to main content

Change an interface (JSON Merge Patch).

PATCH/api/v1/interfaces/{interface_id}analytics:write
Scopeanalytics:write
AsynchronousNo
MCP toolupdate_interface
Portal permissionsedit_virtual_interfaces

Parameters​

NameInTypeRequiredDescription
interface_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Request body​

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

Responses​

StatusDescriptionBody
200Success.application/json Interface or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/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​

Interface​

FieldTypeRequiredDescription
created_byUserRef or nullRequired
document_type_idsarray of stringRequired
filtersobject or nullRequiredformat interface_filters: the interface's filters; null in list items.
group_idsarray of string or nullRequiredGroups that may see the interface; null without View Virtual Interface Security and View Groups.
interface_group_idstring or nullRequired
interface_idstringRequired
layoutobject or nullRequiredformat interface_layout: the panels and charts; null in list items.
namestringRequired
settingsobject or nullRequiredformat 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_idsarray of string or nullRequiredUsers that may see the interface; null without View Virtual Interface Security and View Users.

InterfacePatchInput​

FieldTypeRequiredDescription
created_byUserRefInput or nullOptional
document_type_idsarray of string or nullOptional
filtersobject or nullOptional
group_idsarray of string or nullOptional
interface_group_idstring or nullOptional
interface_idstring or nullOptional
layoutobject or nullOptional
namestring or nullOptional
settingsobject or nullOptionalformat 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_idsarray of string or nullOptional

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired

UserRefInput​

FieldTypeRequiredDescription
display_namestringOptional
kindstring: user, system, integrationOptional
user_idstring or nullOptional