Deleting an Image Retention Policy
Function
Delete an image retention policy.
URI
DELETE /v2/manage/namespaces/{namespace}/repos/{repository}/retentions/{retention_id}
Table 1 describes the parameters.
Request
Status Code
Status Code |
Description |
---|---|
200 |
Deleted successfully. |
400 |
Request error. |
401 |
Authentication failed. |
404 |
The organization does not exist. |
500 |
Failed to complete the request because of an internal service error. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.