Update a calendar schedule

Replaces a calendar schedule's name, date range, cycle days, audiences, reporting term, and active state, then returns the refreshed resource.

Authentication

AuthorizationBearer

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

Path parameters

scheduleIdintegerRequired>=1
Calendar schedule identifier.

Request

This endpoint expects an object.
namestringRequired<=255 characters
dayslist of objectsRequired
report_card_term_idinteger or nullOptional
effective_start_datedate or nullOptional
effective_end_datedate or nullOptional
cycle_length_weeksintegerOptional1-52
activebooleanOptional
audienceslist of objectsOptional

Response

The calendar schedule was updated and returned.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error