APIセンター
Introduction
API-Key Authentication
AK/SK Authentication
APM
Edge Application
CDN Pro
Edge Computing Hosting
IAM
Media Acceleration Live Broadcast
Media Acceleration-Live
Media Acceleration
Cloud Live
Low Latency Streaming
Cloud VoD
API Shield
Application Shield
Web Application Firewall
Flood Shield
Cloud Security 2.0
Bot Shield
Flood Shield 2.0
Dynamic Web Acceleration
Content Acceleration
CloudDNS
Object Storage
Local Storage
Certificate MGMT
Content MGMT
IP Check
Cloud Monitor
Alert Rules Management
DeleteCloudMonitorRealTimeAlarmRule
QueryCloudMonitorRealTimeAlarmRule
EditCloudMonitorRealTimeAlarmRule
CreateCloudMonitorRealTimeAlarmRule
Log Download
Others

DeleteCloudMonitorRealTimeAlarmRule

更新時間: 2025-02-07 14:44:26

Delete the real-time monitoring alarm rule of Cloud monitoring. Users can pass in the monitoring rule ID to delete the specified monitoring rule.

  • 単一ユーザーの使用頻度: 60/5min
  • 使用できるプロダクト: Cloud Monitor

リクエストパラメータ

Body パラメータ

パラメータ名説明
*ruleIdString
Alert rule ID

レスポンスパラメータ

Body パラメータ

パラメータ名説明
codeString
Response code
messageString
Response message

エラーコード

エラーコード(code)説明(message)HTTPステータスコード意味
ResourceNotFound.RuleNotExistsRule does not exist400Rule does not exist
ResourceNotFound.AccountNotExistsAccount does not exist400Account does not exist

入力例

JSON
JSON
リクエスト例
コピー
#!/bin/bash
username="example_username"
apiKey="example_apiKey"
date=`env LANG="en_US.UTF-8" date -u "+%a, %d %b %Y %H:%M:%S GMT"`
password=`echo -en "$date" | openssl dgst -sha1 -hmac $apiKey -binary | openssl enc -base64`
curl -i --url "https://api.cdnetworks.com/api/cloudmonitor/alarm/real-time/delete" \
-X "POST" \
-u "$username:$password" \
-H "Date: $date" \
-H "Accept: application/json" \
-d '{
        "ruleId": "10d01002a7b6426f8e103ce4ec7a0b35"
    }'
レスポンス例
コピー
{
    "code": 0,
    "message": "success"
}

目次

  • リクエストパラメータ
  • レスポンスパラメータ
  • エラーコード
  • 入力例