Recycle Bin - Empty Recycle Bin
Queues a job to remove all package versions from a feed's recycle bin
DELETE https://feeds.dev.azure.com/{organization}/{project}/_apis/packaging/Feeds/{feedId}/RecycleBin/Packages?api-version=7.1
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
feed
|
path | True |
string |
Name or Id of the feed |
organization
|
path | True |
string |
The name of the Azure DevOps organization. |
project
|
path |
string |
Project ID or project name |
|
api-version
|
query | True |
string |
Version of the API to use. This should be set to '7.1' to use this version of the api. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
successful operation |
Security
oauth2
Type:
oauth2
Flow:
accessCode
Authorization URL:
https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL:
https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
Scopes
Name | Description |
---|---|
vso.packaging_manage | Grants the ability to create, read, update, and delete feeds and packages. |
Definitions
Name | Description |
---|---|
Operation |
Reference for an async operation. |
Operation |
The current status of the operation. |
OperationReference
Reference for an async operation.
Name | Type | Description |
---|---|---|
id |
string (uuid) |
Unique identifier for the operation. |
pluginId |
string (uuid) |
Unique identifier for the plugin. |
status |
The current status of the operation. |
|
url |
string |
URL to get the full operation object. |
OperationStatus
The current status of the operation.
Value | Description |
---|---|
cancelled |
The operation was cancelled by the user. |
failed |
The operation completed with a failure. |
inProgress |
The operation is in progress. |
notSet |
The operation does not have a status set. |
queued |
The operation has been queued. |
succeeded |
The operation completed successfully. |