Delete Package
Deletes a package with a given name.
Takes 3 options for deleting a package:
- deletePackage - deletes the package without the content
- deletePackageWithContent - deletes the package along with the content. If other packages share elements with this package, they will be deleted
- deletePackageKeepingShared - deletes the package along with the content. If other packages share elements with this package, the elements will not be removed.
If no option parameter is provided, the default one is used: deletePackage
Request
URI
DELETE
https://{api_host}/vco/api/packages/{packageName}
COPY
Path Parameters
string
packageName
Required
packageName
Query Parameters
string
option
Optional
Constraints:
default: deletePackage
option
Responses
204
The request is successful
Operation doesn't return any data structure
401
User is not authorized
Operation doesn't return any data structure
404
Cannot find a package with the specified name
Operation doesn't return any data structure
Code Samples
COPY
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/vco/api/packages/{packageName}
On This Page
Packages Service Operations
GET
Export Package
PUT
Create Package
DELETE
Delete Package
PATCH
Update Package
PUT
Increment Version
GET
List All Packages
POST
Import Package
POST
Add Workflow Category To Package
POST
Add Workflow To Package
POST
Add Resource Category To Package
POST
Add Resource Element To Package
POST
Rebuild Package
POST
Add Environment Repository To Package
POST
Add Environment To Package
POST
Add Configuration Element Category To Package
POST
Add Configuration Element To Package
POST
Add Action To Package
POST
Add Actions To Package
POST
Get Import Package Details
POST
Get Import Package Details 1
POST
Import Package Extended
GET
Export Troubleshooting Data
DELETE
Delete Workflow Element
DELETE
Delete Resource Element
DELETE
Delete Configuration Element
DELETE
Delete Action Element