recycle-bin

Perform actions on soft-deleted packages in the recycle bin. Supported actions: permanently delete (hard delete), restore. Returns a list of successfully actioned packages and any packages that failed with error details.

post/recycle-bin/{owner}/action/

Request body

action'hard_delete' | 'restore' required

The action to perform on soft-deleted packages.

identifiersstring[] required

A list of soft-deleted package identifiers to action.

repositorystring

The repository name to filter packages to. If not provided, the action will be performed across all accessible repositories in the workspace.

Response

OK

actionstring

The action that was performed.

packages_actionedstring[]

List of package identifiers that were successfully actioned.

packages_failed_to_actionobject

Dictionary of package identifiers that failed with their error details.

Changes

No recorded changes to this endpoint across all 1 revision of this API.