Delete Package

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

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