Only users with the ADMINISTRATOR scope in the current context can assign user contexts to hierarchy levels. Make sure your API token grants administrator privileges.
See Understanding Scopes for more information.
assignUserContextToLevel
mutation.
Access policy:
- The API user context must have permission to manage user assignments.
- The specified
userContextId
must exist and be accessible. - The specified
hierarchyLevelId
must exist and be accessible.
Argument | Type | Description | Default |
---|---|---|---|
userContextId | ID | Required. The unique identifier of the user context to assign. | — |
hierarchyLevelId | ID | Required. The unique identifier of the hierarchy level to assign the user context to. | — |
This operation creates a relationship between a user context and a hierarchy level, which affects the user’s access permissions and organizational structure visibility.