updateHierarchyLevel
mutation to modify an existing hierarchy level. This mutation uses partial update (PATCH-like) semantics: only the fields you provide are updated; omitted fields remain unchanged.
Access policy:
id
must exist.parentId
is provided and is not 0
, a hierarchy level with this ID must exist.Argument | Type | Description | Default |
---|---|---|---|
id | ID | Required. ID of the hierarchy level to update. | — |
hierarchyLevel | Object | Required. Fields to update, as described below. | — |
Argument | Type | Description |
---|---|---|
label | String | Updated display name of the hierarchy level. |
parentId | ID | New parent hierarchy level ID. Set to 0 to move the level to the top level. Omit to keep it unchanged. |
parentId
. To move a level to the top, set parentId
to 0
.