You can call DeleteArtifact to delete an artifact or a specific version of an artifact.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenestsupplier:DeleteArtifact |
delete |
*Artifact
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ArtifactId |
string |
Yes |
The ID of the artifact. Call ListArtifacts to obtain the artifact ID. |
artifact-eea08d1e2d3a43aexxxx |
| ArtifactVersion |
string |
No |
The version of the artifact. Call ListArtifactVersions to obtain the artifact version. |
2 |
| ClientToken |
string |
No |
A client-generated token that ensures the idempotence of the request. Make sure that the token is unique for each request. ClientToken supports only ASCII characters and must be no more than 64 characters long. |
788E7CP0EN9D51P |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX |
Examples
Success response
JSON format
{
"RequestId": "B1A0198B-F316-1B72-B8DD-28B6F6D6XXXX"
}
Error codes
See for a complete list.
Release notes
See Release Notes for a complete list.