Delete Feed
  • 12 Jun 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Delete Feed

  • Dark
    Light
  • PDF

Article summary

Delete Feed is available as both a pgutil command and an HTTP Request, and will delete a specified feed.

🚀 Quick Example: Deleting a feed with pgutil

This example deletes the feed myNugetFeed

pgutil feed delete --name=myNugetFeed

Command Specification (CLI)

The feed delete command set is used to delete a feed.

The --name option is always required.

Deleting a feed requires the feed name (e.g. myNugetFeed):

pgutil feed delete --name=myNugetFeed

HTTP Request Specification

To delete a specified feed simply DELETE to the URL with the feed name and an appropriate API Key.

DELETE /api/management/feeds/delete/«feed-name»

HTTP Response Specification

ResponseDetails
200 (Success)will delete the specified feed
400 (Invalid Input)indicates invalid or missing properties in the request; the body will provide some details as text
403 (Unauthorized API Key)indicates a missing, unknown, or unauthorized API Key; the body will be empty
404 (Feed Not Found)indicates that the specified feed does not exist

Was this article helpful?