createHierarchyLevel mutation.
Access policy:
- The API user context must have permission to create hierarchy levels.
- If
parentIdis provided and is not0, a hierarchy level with this ID must exist.
hierarchyLevel, an object with the following properties:
| Argument | Type | Description | Default |
|---|---|---|---|
label | String | Required. The display name of the hierarchy level to create. | — |
parentId | ID | The parent hierarchy level ID. Use 0 or omit the field to create a top‑level hierarchy. | 0 |
To create a top‑level hierarchy level, set
parentId to 0 or omit it.