UpdateCustomResource
    • PDF

    UpdateCustomResource

    • PDF

    Article Summary

    개요

    지정한 Custom Resource를 수정합니다.

    요청

    API URL

    URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/custom/resource/{resourceId}
    Method: PUT
    

    요청 헤더

    공통 설정에 명시된 요청 헤더가 필요합니다.

    Content-Type: application/json
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    

    요청 바디

    구문

    파라미터명필수 여부타입제약 사항설명
    resourceIdYesString변경하려는 Custom Resource의 resourceId
    resourceNameYesStringresourceName은 변경 가능
    resourceDataNoMap<String, Object>resourceData는 변경 가능

    예시

    요청 예시

    다음은 resourceId 123456의 메타 정보를 수정하는 예시입니다.

    PUT /cw_fea/real/cw/api/custom/resource/123456
    Host: cw.apigw.ntruss.com
    Content-Type: application/json
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    
    Payload:
    {
      "resourceData": {
        "hostName": "insight-test002",
        "organizationCode": "NCC",
        "projectId": "PPP",
        "serverIp": "10.0.0.4",
        "serverType": "Standard"
      }
    }
    
    

    응답 예시

    오류 없이 수정이 완료된 경우 response body 없이 HTTP code 200이 리턴됩니다.


    이 문서가 도움이 되었습니까?

    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.