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

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

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

Deletes a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not allowed to delete the requested topic or for access errors. * `FAILED_PRECONDITION` if the requested topic has already been deleted. * `NOT_FOUND` if no course or topic 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)
