检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Deleting an Image Replication Policy Function This API is used to delete an image replication policy. Constraints None. Calling Method For details, see Calling APIs.
Deleting an Image Signing Policy Function This API is used to delete an image signing policy. Constraints None. Calling Method For details, see Calling APIs.
Deleting an Image Retention Policy Function This API is used to delete an image retention policy. Constraints None. Calling Method For details, see Calling APIs.
Deleting an Artifact Repository Function This API is used to delete a repository. Constraints None. Calling Method For details, see Calling APIs.
Deleting an Image Repository from an Organization Description Delete an image repository in an organization. Constraints None API Calling For details, see Calling APIs.
Deleting an Artifact Tag Function This API is used to delete an artifact tag. Constraints None. Calling Method For details, see Calling APIs.
Deleting a Trigger Function This API is used to delete a trigger. Constraints None. Calling Method For details, see Calling APIs.
Deleting an Image Retention Policy Description Delete an image retention policy. Constraints None API Calling For details, see Calling APIs.
Deleting a Trigger Description Delete a trigger. Constraints None API Calling For details, see Calling APIs.
Deleting an Image with a Specified Tag Description Delete an image with a specified tag. Constraints None API Calling For details, see Calling APIs.
Deleting a Namespace List view: Select a namespace and click Delete in the Operation column. In the displayed dialog box, enter DELETE and click OK. Card view: Select a namespace and click . In the displayed dialog box, enter DELETE and click OK.
To delete permissions, click the Permissions tab on the details page of an image. Locate a user and click Delete in the Operation column. Click OK.
Figure 3 Searching for an image Deleting an image To delete an image, locate the image and click Delete. To avoid deleting important data by mistake, you need to enter DELETE to confirm the deletion. Deleting an image will delete all its tags.
URI format DELETE /v2/manage/namespaces/{namespace}/repos/{repository}/retentions/{retention_id} For details, see Deleting an Image Retention Policy Example request DELETE https://{endpoint}/v2/manage/namespaces/group/repos/test/retentions/34 Example response {} Parent Topic: Example
Table 1 SWR actions in custom policies Permission API Action IAM Project Creating an organization POST /v2/manage/namespaces swr:namespace:createNamespace √ Deleting an organization DELETE /v2/manage/namespaces/{namespace} swr:namespace:deleteNamespace √ Listing organizations GET
Rectify the issue based on the error details or contact technical support. 406 SVCSTG.SWR.4060053 Delete failed. Delete the software package first. 500 SVCSTG.SWR.5000054 Internal server error: Save failed.
Rectify the issue based on the error details or contact technical support. 406 SVCSTG.SWR.4060012 Failed to delete the image repository because there are images in it. Delete images from the repository first. 409 SVCSTG.SWR.4090023 The system is busy.
Frozen Account or Real-Name Authentication Not Complete If an account is frozen (for example, due to arrears, violation, or before deregistration), you can only view and delete the account and cannot create or update the account. Unfreeze the account in a timely manner.
Status Codes Normal Returned Value Description 200 OK The results of GET and PUT operations are returned as expected. 201 Created The results of the POST operation are returned as expected. 202 Accepted The request has been accepted for processing. 204 No Content The results of the DELETE
Status Codes Normal Returned Value Description 200 OK The results of GET and PUT operations are returned as expected. 201 Created The results of the POST operation are returned as expected. 202 Accepted The request has been accepted for processing. 204 No Content The results of the DELETE