检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Deleting an Account from the Sharing List Description Delete an account from the sharing list. Constraints None API Calling For details, see Calling APIs.
Adding an Image Retention Policy Scenarios You can add a retention policy to an image in SWR to automatically delete any unused image tags. The policy takes effect immediately after you set it.
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.
Example Requests DELETE https://{endpoint}/v2/{project_id}/jobs/{job_id} Example Responses None SDK Sample Code The SDK sample code is as follows.
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 Tag Function This API is used to delete an artifact tag. Constraints None. Calling Method For details, see Calling APIs.
Deleting a Private Network Access Rule Function This API is used to delete a private network access rule. Constraints None. Calling Method For details, see Calling APIs.
Deleting an Image Tag Immutability Policy Function This API is used to delete an image tag immutability policy. Constraints None. Calling Method For details, see Calling APIs.
Deleting a Namespace Function This API is used to delete a namespace. 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 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
Permission_management repo * - - - swr:TargetAccountId swr:TargetOrgPath swr:TargetOrgId swr:repo:deleteRepoDomain Grants permission to delete access domain of repository for basic registry.
Read instance * g:EnterpriseProjectId g:ResourceTag/<tag-key> - swr:instance:delete Grants permission to delete an instance. Write instance * g:EnterpriseProjectId g:ResourceTag/<tag-key> - swr:instance:getAuditLogs Grants permission to query audit logs of an instance.
To release the quota, you need to delete all images or image tags that exceed the quota and then delete unused images or image tags. FAQ Why Does an Image Fail to Be Uploaded Through the SWR Console? Parent Topic: Image Management
To release the quota, you need to delete all images or image tags that exceed the quota and then delete unused images or image tags. FAQ Why Does an Image Fail to Be Uploaded Through the SWR Console? Other Parent Topic: Image Management
Rectify the issue based on the error message 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.