Deletes a rubric.
This request must be made by the Google Cloud console of the OAuth client ID used to create the corresponding rubric.
This method returns the following error codes:
PERMISSION_DENIED
if the requesting developer project didn't create the corresponding rubric, or if the requesting user isn't permitted to delete the requested rubric.NOT_FOUND
if no rubric exists with the requested ID or the user does not have access to the course, course work, or rubric.INVALID_ARGUMENT
if grading has already started on the rubric.
HTTP request
DELETE https://classroom.googleapis.com/v1/courses/{courseId}/courseWork/{courseWorkId}/rubrics/{id}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
courseId |
Required. Identifier of the course. |
courseWorkId |
Required. Identifier of the course work. |
id |
Required. Identifier of the rubric. |
Query parameters
Parameters | |
---|---|
previewVersion |
Optional. The preview version of the API. This must be set in order to access new API capabilities made available to developers in the Preview Program. |
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/classroom.coursework.students
For more information, see the Authorization guide.