Delete a software package

2023-08-22 02:46:05  Updated

Description

You can call this operation to delete a specific software package.

Call description

Prerequisite

You have the PACKAGE_MANAGER permissions.

Request path

DELETE /api/v2/software-packages/{id}

Request parameters

Parameter Type Required Example value Description
id Integer Yes 1 The ID of the software package.

Response parameters

Parameter Type Description
successful Boolean Indicates whether the request was successful.
timestamp Datetime The timestamp when the server completed the request.
duration Integer The time taken by the server to process the request, in milliseconds.
status Integer An HTTP status code.
traceId String The trace ID of the request. This trace ID is used for troubleshooting.
server String The address of the application server that responded to the request.

Examples

Sample request

DELETE /api/v2/software-packages/1

Sample response

{
  "duration": 260,
  "server": "xxx.xxx.xxx.xxx",
  "status": 200,
  "successful": true,
  "timestamp": "2021-08-24T21:47:33.732+08:00",
  "traceId": "1ca11f0fcea24a81"
}

Contact Us