Skip to main content

deletePackage

This method deletes a package identified through the provided package ID.

Parameters

Parameter

Type

Optional

Description

packageId

String

No

The ID of the package to be deleted.

Return value

This method does not return any value.

Example

Request:

  {
    "id": "787b5e36-89a8-4353-88b9-6b7a32e9c87f",
    "jsonrpc": "2.0",
    "method": "deletePackage",
    "params": {
         "packageId": "5a37b660b1a43d99117b23c6"
        }
  }  

Response:

  {
   "id": "787b5e36-89a8-4353-88b9-6b7a32e9c87f",
   "jsonrpc": "2.0",
   "result": null
  }