set_class_visibility
Control class visibility for staff, parents, and students. Use to show classes that start hidden after creation.
Instructions
Show or hide classes for staff, parents, and students. Requires PS_ENABLE_WRITES.
Newly created classes start hidden, so a class made with add_class needs this before anyone can see or post to it. Hidden classes are not visible to staff, parents, or students.
Args: school_id: School ID section_ids: Class/section IDs to update (from list_classes) visible: True to make the classes visible, False to hide them date: Optional YYYY-MM-DD date the change takes effect; defaults to today
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| visible | Yes | ||
| school_id | Yes | ||
| section_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |