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-key네이버 클라우드 플랫폼에서 발급받은 API Key 또는 IAM에서 발급받은 AccessKey
    x-ncp-apigw-signature-v2Body를 AccessKey와 맵핑되는 SecretKey로 암호화한 서명
    HMAC 암호화 알고리즘은 HmacSHA256 사용
    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 Cloud Platform API를 참고해주세요.

    HTTP 응답 코드errorCodemessage설명
    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.