bulk-action

Perform bulk operations on multiple packages within a repository or across all accessible repositories. If 'repository' is provided, actions are limited to that repository. If 'repository' is omitted, actions are performed across all repositories the user has access to within the workspace. Returns a list of successfully actioned packages and any packages that failed with error details.

post/bulk-action/{owner}/

Request body

action'Delete' | 'Resync' | 'Quarantine' | 'Unquarantine' | 'Move' | 'Copy' | 'Rescan' required

The action to perform on the packages.

identifiersstring[] required

A list of package identifiers to apply the action to.

repositorystring

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

target_repositorystring

The slug of the target repository

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.