Deletes a tag from an image repository.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cr:DeleteRepositoryTag |
delete |
*Repository
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
cri-xkx6vujuhay**** |
| RepoId |
string |
Yes |
The ID of the image repository. |
crr-xwvi3osiy4ff**** |
| Tag |
string |
Yes |
The tag of the image. |
1.24 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The response code. |
success |
| IsSuccess |
boolean |
Indicates whether the request was successful. |
true |
| RequestId |
string |
The ID of the request. |
96E66B3A-C81A-48BE-ACD6-C0AB1F9313C0 |
Examples
Success response
JSON format
{
"Code": "success",
"IsSuccess": true,
"RequestId": "96E66B3A-C81A-48BE-ACD6-C0AB1F9313C0"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | SystemError | Unknown error. | |
| 403 | NoPrivilege | Access denied for this user. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.