Use theDocumentation Index
Fetch the complete documentation index at: https://docs.opigno.com/llms.txt
Use this file to discover all available pages before exploring further.
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:
- The API user context must have permission to update hierarchy levels.
- A hierarchy level with the provided
idmust exist. - If
parentIdis provided and is not0, 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. |
To keep the current parent, omit
parentId. To move a level to the top, set parentId to 0.