Only users with the ADMINISTRATOR scope in the current context can unassign trainings from hierarchy levels. Make sure your API token grants administrator privileges.
See Understanding Scopes for more information.
unassignTrainingFromLevel
mutation.
Access policy:
- The API user context must have permission to manage training assignments.
- The specified
trainingId
must exist and be accessible. - The specified
hierarchyLevelId
must exist and be accessible.
Argument | Type | Description | Default |
---|---|---|---|
trainingId | ID | Required. The unique identifier of the training to unassign. | — |
hierarchyLevelId | ID | Required. The unique identifier of the hierarchy level to unassign the training from. | — |
This operation removes the relationship between a training and a hierarchy level, making the training no longer available to users assigned to that level.