Container Registry
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Action | String | Yes | DeleteNamespace | The API name. The current API's name is DeleteNamespace. |
Version | String | Yes | 2022-05-12 | The API version. The current version of the API is 2022-05-12. |
Registry | String | Yes | registrya | The name of the Container Registry instance to which the namespace to be deleted belongs. On the Container Registry Console Instance List page, obtain the instance name. |
Name | String | Yes | library | The name of the namespace to be deleted. On the Container Registry Console namespace page of the target instance, obtain the namespace name. |
HTTP Status Code | Error code | Error Message | Descriptions |
HTTP Status Code | Error code | Error Message | Descriptions |
400 | OperationDenied.RegistryStatus | The action has been denied due to wrong status %s. | The specified operation is not allowed under the current instance status. Please wait for the status transition to complete and try again. |
400 | NotEmpty.Namespace | Delete namespace is forbidden due to repository exist. | There are uncleaned OCI artifacts under the namespace. Please delete all OCI artifacts under the namespace first and then try again. |