deleteCertificate
    • PDF

    deleteCertificate

    • PDF

    Article Summary

    概要

    SSL証明書を削除します。

    リクエスト

    MethodRequest URI
    DELETEhttps://certificatemanager.apigw.ntruss.com/api/v1/certificate/{certificateNo}

    リクエストヘッダー

    ヘッダー名説明
    x-ncp-apigw-timestamp1970年1月1日00:00:00協定世界時(UTC)からの経過時間をミリ秒(Millisecond)で表したものです。
    API Gatewayサーバとの時間差が5分以上の場合、有効ではないリクエストと見なす
    x-ncp-iam-access-keyNAVERクラウドプラットフォームから発行されたAPI KeyまたはIAMから発行されたAccessKey
    x-ncp-apigw-signature-v2リクエストパスやヘッダーをAccessKeyとマッピングするSecretKeyで暗号化した署名で
    HMACの暗号化アルゴリズムはHmacSHA256を使用

    IAM認証が必要なAPIを呼び出すを参照してください。
    acceptapplication/jsonに指定

    リクエストパラメータ

    パラメータ名必須タイプ説明
    certificateNameYesString証明書名を入力します。
    certificateNoYesString証明書番号を入力します。

    レスポンス

    レスポンスボディ

    フィールド名タイプ説明
    returnCodeStringリクエストに対する処理結果コード
    returnMessageStringリクエストに対する処理結果メッセージ
    totalRowsIntegersslCertificateListのobject数
    sslCertificateList[]String証明書の削除結果

    リクエスト例

    curl -X DELETE "https://certificatemanager.apigw.ntruss.com/api/v1/certificate/1321?certificateName=CM-openAPI"
    -H "accept: application/json"
    -H "x-ncp-iam-access-key: 72A565A16F1827A27DD5"
    -H "x-ncp-apigw-timestamp: 1594654180133"
    -H "x-ncp-apigw-signature-v2: OpGDXoUmIRCJquWqQMZy3BDjehOmD5tvbhwTEDVjmlg="
    

    レスポンス例

    レスポンスヘッダー

    connection: keep-alive 
    content-type: application/json;charset=UTF-8 
    date: Mon, 13 Jul 2020 13:17:08 GMT 
    referrer-policy: unsafe-url 
    server: nginx 
    transfer-encoding: chunked 
    x-ncp-apigw-response-origin: ENDPOINT 
    x-ncp-trace-id: 32e1m6kp3acr43gohj6li30e36 
    

    レスポンスボディ

    {
      "returnCode": "0",
      "returnMessage": "Success",
      "totalRows": 0
    }
    

    エラーコード

    以下のエラーコードは、このアクション(Action)で発生する特徴的なエラーです。共通して発生するエラーに対する詳細説明は、NaverクラウドプラットフォームAPIを参考にしてください。

    HTTP response codeerrorCodeMessageDescription
    2001004Failed to delete the certificate. Delete the instance being used first or replace the certificate being used for the instance.証明書の削除に失敗しました。
    2001004Failed to delete the certificate. No certificate was found with a matching with requested certificate name and certificate number.証明書の削除に失敗しました。

    この記事は役に立ちましたか?

    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.