- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Deletes a rubric.
The requesting user and course owner must have rubrics creation capabilities. For details, see licensing requirements.
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 | |
---|---|
course |
Required. Identifier of the course. |
course |
Required. Identifier of the course work. |
id |
Required. Identifier of the rubric. |
Query parameters
Parameters | |
---|---|
preview |
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.