You need to enable JavaScript to run this app.
Container Registry

Container Registry

Copy page
Download PDF
Package management
DeletePackage
Copy page
Download PDF
DeletePackage
Delete the package and clear all versions.​
Request description​
  • Request method: POST​
  • Request URL: https://open.volcengineapi.com/?Action=DeletePackage&Version=2025-01-01​
Request parameters​
​
Parameter Name​
Type​
Required​
Sample value​
Description​
Action​
String​
Yes​
DeletePackage​
The API name. ​
Version​
String​
Yes​
2025-01-01​
The API version. ​
Registry​
String​
Yes​
artifact-demo​
Artifact repository instance name.​
You can call the ListArtifactRegistries​
API to obtain the names of artifact repository instances.​
Name​
String​
Yes​
package-demo​
The name of the artifact package.​
​
Sample requests​
​
POST https://open.volcengineapi.com/?Action=DeletePackage&Version=2025-01-01​
Content-Type: application/json​
{​
"Registry": "artifact-demo",​
"Name": "package-demo"​
}​
​
Response parameters​
This API has no proprietary response parameters. For public response parameters, refer to Response structure.​
Sample responses​
​
HTTP/1.1: 200 OK​
Content-Type: application/json​
{​
"ResponseMetadata": {​
"RequestId": "20250101110420****100232280022D31",​
"Action": "DeletePackage",​
"Version": "2025-01-01",​
"Service": "artifacts",​
"Region": "cn-north-1"​
},​
"Result": {}​
}​
​
​
Last updated: 2025.10.24 11:20:41