变更配额或频控
所有文档

          简单消息服务 SMS

          变更配额或频控

          URL

          /sms/v3/quota

          HTTP Method

          PUT

          请求参数

          参数名称 类型 是否必需 描述 取值示例
          quotaPerDay int 日(自然日)发送配额 99
          quotaPerMonth int 月(自然月)发送配额 999
          rateLimitPerMobilePerSignByMinute int 单手机号单签名每分钟(60s)发送频率 88
          rateLimitPerMobilePerSignByHour int 单手机号单签名每小时(60mins)发送频率 77
          rateLimitPerMobilePerSignByDay int 单手机号单签名每天(24h)发送频率 66

          响应参数

          void

          HTTP请求示例

          PUT /sms/v3/quota HTTP/1.1
          
          Host: 127.0.0.1:8420
          Authorization: bce-auth-v1/203069ff6d1145548efbccc0aeaf8b5a/2020-08-14T07:36:59Z/1800/host;x-bce-date/aea68a537fc57498afaca438bd21394e3fe61270e96c2aa15e7780fce0d90865
          Date: Fri, 14 Aug 2020 07:36:59 GMT
          Content-Type: application/json
          x-bce-date: 2020-08-14T07:36:59Z
          Content-Length: 150
          Connection: Keep-Alive
          Accept-Encoding: gzip,deflate
          
          {
            "quotaPerMonth": 999,
            "quotaPerDay": 99,
            "rateLimitPerMobilePerSignByDay": 88,
            "rateLimitPerMobilePerSignByHour": 77,
            "rateLimitPerMobilePerSignByMinute": 66
          }

          响应成功示例

          HTTP/1.1 200 OK
          x-bce-request-id: 8c73056d-5bd0-455a-95c1-1453f6fdfd7b
          Cache-Control: no-cache
          Content-Length: 0
          Date: Fri, 14 Aug 2020 07:36:59 GMT
          Server: BWS
          上一篇
          查询配额及频控
          下一篇
          短信发送接口响应码