v5

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-167122208.0 KB
packages

destroy

Example request:

curl -X DELETE "https://packagecloud.io/api/v1/repos/cooluser/mystuff/ubuntu/precise/jake_1.0-7.dsc"
delete/api/v1/repos/{user_id}/{repo}/{distro}/{version}/{package}.{ext}

Path parameters

user_idstring required

The owner of the repo.

repostring required

The name of the repo.

distrostring required

The name of the distribution the package is in. (i.e. ubuntu)

versionstring required

The version name of the distribution the package is in. (i.e. precise)

packagestring required

The name of the package to be yanked.

extstring required

The file extension of the package to be yanked.

Query parameters

scopestring

The package scope. Required if deleting a scoped Node.JS package. Include the escaped '@', (i.e. ?scope=%40example).

Response

Empty An empty JSON hash.

object required