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

# DELETE /v1/courses/{courseId}/aliases/{alias}

`DELETE /v1/courses/{courseId}/aliases/{alias}`

Deletes an alias of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to remove the alias or for access errors. * `NOT_FOUND` if the alias does not exist. * `FAILED_PRECONDITION` if the alias requested does not make sense for the requesting user or course (for example, if a user not in a domain attempts to delete a domain-scoped alias).

## Path parameters

- `courseId` string, required
- `alias` 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)
