Grade value DELETE API gives "405 Method Not Allowed" error

Vinodya.Bandara2928
Vinodya.Bandara2928 Posts: 5 🌱
edited November 2022 in Development

Hi All,

We are trying to execute a DELETE request to the API "/d2l/api/le/(version)/(orgUnitId)/grades/(gradeObjectId)/values/(userId)" to delete an existing grade item value for a user. But we are getting the following error:

 

{

"type": "http://docs.valence.desire2learn.com/res/apiprop.html#method-not-allowed",

"title": "Method Not Allowed",

"status": 405,

"detail": "The DELETE method is not allowed on this resource.",

"allowed_methods": [

"GET",

"PUT",

"HEAD"

]

}

 

Is there any capability to obtain DELETE permission to this endpoint? Or is there any other method to delete a single user grade in D2L gradebook?

Tagged:

Answers