MENU
      Delete image tag
        • PDF

        Delete image tag

        • PDF

        Article summary

        Available in Classic and VPC

        Delete specific tag information for an image registered in the registry of Container Registry.

        Requests

        The following describes the request format for the endpoint. The request format is as follows.

        MethodURI
        DELETE/repositories/{registry}/{imageName}/tags/{reference}

        Request headers

        For headers common to all Container Registry APIs, see Container Registry common headers.

        Request path parameters

        The following describes the parameters.

        FieldTypeRequiredDescription
        registryStringRequiredName of the registry where the image for which you want to delete tag is registered
        imageNameStringRequiredName of the image to delete tag from
        • Need to use URI encoded values
        • <Example> For hello/world, convert to hello%2Fworld and use it
        referenceStringRequiredName of the tag to delete

        Request example

        The following is a sample request.

        curl -X DELETE "https://ncr.apigw.ntruss.com/ncr/api/v2/repositories/{registry}/tags/{reference}"
        -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}"
        Curl

        Responses

        The following describes the response format.

        Response syntax

        The response syntax is as follows.

        None
        JSON

        Response status codes

        The following describes response status codes. For response status codes common to all Container Registry APIs, see Container Registry response status codes.

        HTTP status codeCodeMessageDescription
        204-OKRequest succeeded
        404-Not FoundRequested resource not found

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.