批量设置规则状态

接口描述:

  • 批量设置规则状态。

请求 URL:

  • http|https://host/api/v1/auth_rule/method/set.auth.rule.status/

请求方式:

  • GET
  • POST

是否授权:

  • 需要授权

业务参数:

参数名 类型 是否必须 范围值 默认值 示例值 描述
rule_id integer gt[]:0 [1,2,3] 规则编号
status integer in:0,1 1 规则状态 0=禁用 1=启用

响应参数:

参数名 类型 是否返回 示例值 描述
status integer 200 状态码
message string success 消息信息
data boolean true 返回 true 表示执行成功

响应示例:

  1. {
  2. "status": 200,
  3. "message": "success",
  4. "data": true
  5. }

备注: