---
title: "destroy"
method: DELETE
path: "/api/v1/repos/{user_id}/{repo}/{distro}/{version}/{package}.{ext}"
tags: ["packages"]
---

# destroy

`DELETE /api/v1/repos/{user_id}/{repo}/{distro}/{version}/{package}.{ext}`

**Example request:**

```
curl -X DELETE "https://packagecloud.io/api/v1/repos/cooluser/mystuff/ubuntu/precise/jake_1.0-7.dsc"
```

## Path parameters

- `user_id` string, required
- `repo` string, required
- `distro` string, required
- `version` string, required
- `package` string, required
- `ext` string, required

## Query parameters

- `scope` string

## Response `200`

Empty An empty JSON hash.

- object

---

[API](https://skmtc.net/cstrahan/apis/packagecloud-api.md) · [All operations](https://skmtc.net/cstrahan/apis/packagecloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cstrahan/packagecloud-api/versions/9744ac4cffc2/schema)
