This request must be made by the Developer Console project of the OAuth client ID used to create the corresponding course work item.
This method returns the following error codes:
PERMISSION_DENIED if the requesting developer project did not create the corresponding course work, if the requesting user is not permitted to delete the requested course or for access errors.
FAILED_PRECONDITION if the requested course work has already been deleted.
NOT_FOUND if no course exists with the requested ID.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-05 UTC."],[[["Deletes a course work item permanently, requiring the request to be made by the Developer Console project that originally created it."],["Uses a DELETE request to `https://classroom.googleapis.com/v1/courses/{courseId}/courseWork/{id}`, specifying the course and coursework IDs in the path."],["Requires an empty request body and returns an empty response body upon successful deletion."],["Needs the `https://www.googleapis.com/auth/classroom.coursework.students` OAuth scope for authorization."],["Potential errors include `PERMISSION_DENIED`, `FAILED_PRECONDITION`, and `NOT_FOUND` based on access rights and coursework status."]]],[]]