Available in Classic and VPC
Delete a registry registered in Container Registry.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
DELETE | /repositories/{registry} |
Request headers
For headers common to all Container Registry APIs, see Container Registry common headers.
Request path parameters
You can use the following path parameters with your request:
Field | Type | Required | Description |
---|---|---|---|
registry |
String | Required | Name of the registry to delete |
Request example
The request example is as follows:
curl -X DELETE "https://ncr.apigw.ntruss.com/ncr/api/v2/repositories/{registry}"
-H "x-ncp-apigw-timestamp: {Timestamp}"
-H "x-ncp-iam-access-key: {Sub Account Access Key}"
-H "x-ncp-apigw-signature-v2: {API Gateway Signature}"
Response
This section describes the response format.
Response syntax
None
Response status codes
For response status codes common to all Container Registry APIs, see Container Registry response status codes.
HTTP status code | Code | Message | Description |
---|---|---|---|
204 | - | OK | Request succeeded |
404 | - | Not Found | Requested resource not found. |