0

I want to clear up the old VSTS Packages, and don't want to remove it individually. How can I do this with cmdlets?

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Elaine
  • 1,288
  • 5
  • 17
  • 35

1 Answers1

0

For CLI, you can just unlist VSTS packages but not delete them.

Currently, NuGet.exe can only unlist packages; Team Services and TFS interpret nuget.exe delete as an unlist operation to be consistent with NuGet.org. To delete a package, you must use either the REST APIs or the web interface.

More details, you can refer unlist a package.

And deleting VSTS packages by REST API, you can referdelete package.

Marina Liu
  • 36,876
  • 5
  • 61
  • 74