Update a report-card course

Updates course details and synchronizes audiences and teachers for the supplied academic-year scope.

Authentication

AuthorizationBearer

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

Path parameters

coursestringRequired

Request

This endpoint expects an object.
activebooleanRequired
subject_idintegerRequired>=1
namestringRequired<=255 characters
sort_orderintegerOptional>=0
period_length_minutesintegerOptional1-1440
times_per_weekintegerOptional1-30
duration_weeksintegerOptional1-520
sync_year_idslist of integersOptional
audienceslist of objectsOptional
teacherslist of objectsOptional

Response

Course updated.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

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