Update a PTA event

Updates the event configuration and regenerates its slot/family payload. At least one grade, class, or staff member must be selected.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Path parameters

idintegerRequired
PTA event identifier.

Request

This endpoint expects an object.
titlestringRequired
start_datedatetimeRequired

ISO-8601 datetime with timezone offset.

pta_gap_parent_countintegerRequired
pta_schedule_type_idintegerRequired
pta_slot_duration_idintegerRequired
pta_slot_meeting_countintegerRequired
grade_idslist of integersOptional
class_idslist of integersOptional
staff_member_idslist of integersOptional
parent_typeenum or nullOptional
Allowed values:
exclude_staff_childrenbooleanOptional

Response

Updated event slot and family payload.
statusstring
messagestring
datamap from strings to any

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error