跳转到主要内容
POST
/
channel
/
escalate
/
rule
/
enable
策略启用
curl --request POST \
  --url 'https://api.flashcat.cloud/channel/escalate/rule/enable?app_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "channel_id": 123,
  "rule_id": "<string>"
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>"
  }
}

授权

app_key
string
query
必填

请求头

Content-Type
string

请求体

application/json
channel_id
integer
必填
rule_id
string
必填

响应

200 - application/json
error
object

错误信息,仅失败时存在