---
title: "DELETE /v1/courses/{courseId}/courseWorkMaterials/{id}"
method: DELETE
path: "/v1/courses/{courseId}/courseWorkMaterials/{id}"
tags: ["courses"]
---

# DELETE /v1/courses/{courseId}/courseWorkMaterials/{id}

`DELETE /v1/courses/{courseId}/courseWorkMaterials/{id}`

Deletes a course work material. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding course work material item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding course work material, if the requesting user is not permitted to delete the requested course or for access errors. * `FAILED_PRECONDITION` if the requested course work material has already been deleted. * `NOT_FOUND` if no course exists with the requested ID.

## Path parameters

- `courseId` string, required
- `id` string, required

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/classroom.md) · [All operations](https://skmtc.net/google/apis/classroom/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/classroom/versions/1b98f151d40b/schema)
