remove_visibility_overrides
Batch-remove a group's course visibility overrides by course ID and visibility flag, revoking or granting access while preserving the opposite rule.
Instructions
Remove a group's course-visibility overrides. This is a BATCH operation.
`id` is the GROUP id. `overrides` is the batch, and each item identifies one by
`published_course_id` plus `is_visible` - because both an allow row and a block
row can exist for the same course, `is_visible` says WHICH ONE to remove. It
defaults to true, so an unqualified removal takes out the allowlist entry and
leaves any blocklist entry in place.
Removing an allowlist entry can REVOKE ACCESS the group currently has. Removing
a blocklist entry can GRANT access it currently lacks. Neither is announced
anywhere else.
The returned ids echo the `published_course_id` you sent, NOT the override's own
id, so results line up with the request without a second lookup.
Removing an override that does not exist succeeds - like the membership tools,
this cannot be used to test what is there.
Requires the `student-groups:write` OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| overrides | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| note | Yes | ||
| total | Yes | ||
| failed | Yes | ||
| succeeded | Yes |