MENU
      UpdateIntegration

        UpdateIntegration


        記事の要約

        Classic/VPC環境で利用できます。

        概要

        Integrationを修正します。

        リクエスト

        API URL

        URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/integration/update
        Method: POST
        Plain text

        リクエストヘッダ

        共通設定に明示されたリクエストヘッダが必要です。

        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}
        Plain text

        リクエストボディ

        パラメータ名要否タイプ制約事項説明
        idYStringIntegration Id
        nameYStringIntegration名
        typeYString現在、OUT_GOINGのみ対応Integrationタイプ
        urlYString呼び出されるべき url
        headersNMap<String, String>呼び出し時に使用される header
        payloadYString呼び出し時に使用される payload

        リクエスト例

        以下は、idが999の Integrationを削除する例です。

        POST /cw_fea/real/cw/api/integration/update
        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:
        {
            "id": "999",
            "name": "update",
            "payload": "{\n\t\"text\": \"#{DOMAIN_CODE} => #{RULE_NAME} 's event is #{EVENT_STATUS}. The condition is #{RESOURCE_NAME} 's #{DIMENSIONS} #{METRIC} #{OPERATOR} #{CRITERIA}. The current value is #{VALUE}\"\n}",
            "type": "OUT_GOING",
            "url": "https://url"
        }
        HTTP

        レスポンス例

        エラーなく修正が完了した場合、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.