Deleting an Image Repository
Function
Delete an image repository in an organization.
URI
DELETE /v2/manage/namespaces/{namespace}/repos/{repository}
For details about parameters, see Table 1.
Request
N/A
Response
N/A
Status Code
For details about status code, see Table 2.
| Status Code | Description |
|---|---|
| 204 | The brief information about the image repository is successfully deleted. |
| 400 | Request error. Error information is returned. |
| 401 | Authentication fails. |
| 404 | The repository does not exist. |
| 406 | The repository cannot be deleted because it contains images. |
| 500 | Internal error. Error information is returned. |
Last Article: Creating an Image Repository
Next Article: Updating the Brief Information on an Image Repository
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.