Change a custom normaliser.
PATCH/api/v1/graph/normalisers/{normaliser_id}custom_fields:write
A merge patch. Its version goes up when its steps change. The slug can change only while no field names the normaliser (409 conflict otherwise, naming the fields). preview_graph_normaliser shows what a change would do to the keys already written. Needs Edit Graph Normalisers.
| Scope | custom_fields:write |
| Asynchronous | No |
| MCP tool | update_graph_normaliser |
| Portal permissions | edit_graph_normalisers |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
normaliser_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
If-Match | header | string | Optional |
Request body
| Content type | Type |
|---|---|
application/json | GraphNormaliserPatchInput |
application/merge-patch+json | GraphNormaliserPatchInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json GraphNormaliser 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 |
409 | already_exists, conflict | 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
GraphNormaliser
| Field | Type | Required | Description |
|---|---|---|---|
description | string or null | Required | |
is_active | boolean | Required | |
name | string | Required | |
normaliser_id | string | Required | |
slug | string | Required | |
steps | object or null | Required | The ordered steps (format graph_normaliser_steps): the Portal's own document. |
used_by | array of GraphUse | Required | The fields that name the normaliser. |
value | string | Required | What a field's graph role names to use it: custom:<slug>. |
version | integer | Required | Goes up when the steps change. ≥ -2147483648; ≤ 2147483647 |
GraphNormaliserPatchInput
| Field | Type | Required | Description |
|---|---|---|---|
description | string or null | Optional | |
is_active | boolean or null | Optional | |
name | string or null | Optional | |
normaliser_id | string or null | Optional | |
slug | string or null | Optional | |
steps | object or null | Optional | |
used_by | array of GraphUseInput or null | Optional | |
value | string or null | Optional | |
version | integer or null | Optional |
GraphUse
| Field | Type | Required | Description |
|---|---|---|---|
custom_field_id | string or null | Required | The field; null for a template-level use. |
custom_field_template_id | string or null | Required | The template; null for a use outside a template. |
label | string | Required | The template, or the template and field, as the builder names it. |
where | string or null | Required | For a normaliser: field_role or document_link, or null. |
GraphUseInput
| Field | Type | Required | Description |
|---|---|---|---|
custom_field_id | string or null | Optional | The field; null for a template-level use. |
custom_field_template_id | string or null | Optional | The template; null for a use outside a template. |
label | string | Optional | The template, or the template and field, as the builder names it. |
where | string or null | Optional | For a normaliser: field_role or document_link, or null. |