Skip to main content

Delete Package

DELETE https://api.repoflow.io/1/workspaces/<workspace-ref>/repositories/<repository-ref>/packages/<package-id>

Deleting a package will remove all its versions and files. This request will delete the package immediately and mark the files for deletion, which will occur shortly thereafter. Therefore, the repository's total size may take a little time to update.

This endpoint works for local and remote repositories. For remote repositories, this deletes RepoFlow's indexed package data and cached files; it does not delete the package from the upstream registry.

This request cannot be canceled.

Minimum Permission: Can manage (repository) • Authentication Not Required

Path Parameters

workspace-refstringRequired

Workspace ID or name.

repository-refstringRequired

Repository ID or name.

packageIdstringRequired

Package ID.