GraphQL query for updating course post policies

b_willems
Community Explorer

Hi Developers!

We are trying to update a course’s post policies with GraphQL. We managed to create them but are stuck when trying to update existing ones.

This is the use case: The API sets a course’s Post Policy for Grades to manual. To make sure that teachers don’t change it back in the GUI, we check and update the Post Policy to change back to ‘Manually post grades’.

Could anyone help with an example query for updating Post Policies?

Thanks! 

Barbara

Labels (1)