# 修改短信模板


# 接口地址

http://api.1cloudsp.com/open/api/modifyTemplate

用户通过HTTP(或HTTPS)的POST或GET方式提交短信发送请求。编码采用 UTF-8 编码。


# 请求参数

参数名 是否必填 类型 示例 描述
accesskey String xxxxxxxxxx 秘钥key
secret String yyyyyyyyyy 秘钥secret
id Int 123 模板id
templateName String 模板名称 模板名称
template String 你的验证码是{1} 短信模板,采用utf8编码
description String 公司名称 简单描述使用场景

# 返回参数

参数名 类型 说明 描述
ret Int 请求状态数 0表示请求成功,非0表示请求失败;
msg String 状态说明
data JSON 模板id数据 Json字符串,模板id

# 返回示例

{
    "ret":0,
    "msg":null,
    "data":{
        "templateId":123
    }
}