---
title: "Delete a path"
method: DELETE
path: "/api/v2/paths/{pathId}"
tags: ["Paths"]
---

# Delete a path

`DELETE /api/v2/paths/{pathId}`

> 🔑
>
> Required OAuth scope: `paths:write`.

Deletes a path given the path ID.

## Path parameters

- `pathId` string, ObjectId, required

## Headers

- `360-api-version` 'v2.0', required

## Response `204`

Deletes a specific path.

## Other responses

- `401` — The given access token is either missing, invalid, has expired, or has been revoked.
- `403` — The given access token does not have the required OAuth scope to execute the request.
- `404` — The given `pathId` does not correspond to any existing path.
- `409` — You cannot delete this path, it's used as a step or requirement in at least one path.
- `429` — The client has sent too many requests in a short amount of time.

---

[API](https://skmtc.net/360learning/apis/core-api.md) · [All operations](https://skmtc.net/360learning/apis/core-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/360learning/core-api/versions/94b691b0b72c/schema)
