The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December.
Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
I'm using https://github.com/kajigga/py_canvas_api to allow myself to do some routine Canvas tasks from Python scripts rather than from the Canvas GUI. I would like to be able to unmute an assignment. I have been able to use the REST API to change due dates on assignments, to enter grades for submissions, to change the 'published' state of assignments, and to read the 'muted' state of assignments. But I have not succeeded at changing the 'muted' state of assignments except by using the web GUI gradebook. Is there a mechanism via the API to unmute an assignment?
This works:
data = {"assignment": {"published": False}}
self.c.courses(self.cid).assignments(11328924).put(data)
but this does not work:
data = {"assignment": {"muted": False}}
self.c.courses(self.cid).assignments(11328924).put(data)
This is my first time posting a question here, so I apologize in advance if it turns that that I have posted in the wrong place.
-Bill
Solved! Go to Solution.
Hi Bill. I wasn't actually familiar with the "muted" property for an assignment, but when I found it in the Assignment definition in the Rest API documentation there's a note that it is Deprecated. Perhaps because of that the property can't be set/updated via the API call?
I actually don't see the "Mute Assignment" option in Gradebook UI anymore. Is it still available in your Canvas version? As far as I'm aware, it was replaced with Grade Posting Policy a little while back.
Hi Bill. I wasn't actually familiar with the "muted" property for an assignment, but when I found it in the Assignment definition in the Rest API documentation there's a note that it is Deprecated. Perhaps because of that the property can't be set/updated via the API call?
I actually don't see the "Mute Assignment" option in Gradebook UI anymore. Is it still available in your Canvas version? As far as I'm aware, it was replaced with Grade Posting Policy a little while back.
I see the "Muted?" checkbox in the "individual gradebook" GUI. In the "traditional gradebook" GUI, I see at the top of each assignment a "Grade Posting Policy." It currently indicates to post grades "Automatically" (not "Manually") for each of the several assignments that I looked at. When I look at the student view, I see that the "Test Student" can see the grade I assigned even for an assignment that is marked as "Muted" in the individual gradebook. So maybe the muted status indeed does nothing. I'll confirm by asking a real student to tell me which of her grades she's able to see.
My students confirm that they can see their grades, irrespective of the state of the (presumably obsolete) "muted" flag that appears in the individual gradebook and in the REST API.
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in