PNS API unbind - nxtele/http-api-document GitHub Wiki
接口说明,根据bindId解绑A、B
请求url
https://api.nxcloud.com/v1/api/pns/
请求头
参数名 |
类型 |
必填 |
说明 |
accessKey |
string |
是 |
用户的accessKey |
action |
string |
是 |
请求方法,示例:unbindAXB |
bizType |
string |
是 |
业务类型,固定为5,代表隐私号服务 |
ts |
string |
是 |
毫秒级时间戳,示例:1670479632933 |
sign |
string |
是 |
签名,签名算法 |
请求体
参数名 |
类型 |
必填 |
说明 |
customerBindId |
string |
否 |
客户自定义的绑定id(由客户决定,需要保证唯一,customerBindId和bindId二选一即可) |
bindId |
string |
否 |
绑定时候,隐私号服务返回的绑定id(customerBindId和bindId二选一即可) |
返回参数
参数名 |
类型 |
说明 |
code |
int |
返回码,0代表成功,其他失败 |
msg |
string |
返回码描述 |
requestId |
string |
请求id |
请求示例
请求url
https://api.nxcloud.com/v1/api/pns/
Header
KEY |
VALUE |
accessKey |
xxxxxxxxxxxx |
ts |
1670479632933 |
bizType |
5 |
action |
unbindAXB |
sign |
faxxxxxxxxxxxxxxxxxxxxxxxxxxxxd4 |
Body
{
"bindId": "f6e24ebdaf64ef91adb0b60e3b582db0"
}
返回示例
{
"code": 0,
"msg": "success",
"requestId": "1602135125931462656"
}