Skip to main content

Delete Package Version

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

Deletes a specific package version. If this is the only version, the package is deleted as well. Files are marked for deletion and the repository size may take time to update. This request cannot be canceled.

This endpoint only works for local repositories.

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

Path Parameters

workspace-refstringRequired

Workspace ID or name.

repository-refstringRequired

Repository ID or name.

package-idstringRequired

Package ID.

version-idstringRequired

Package version ID.