简要说明
- 提供给产品管理员为账户添加权限。
请求URL
https://sso-cas.gridsumdissector.com/api/v3/authorization?nonce_str={random_str}
请求方式
- POST
请求中Query参数
名称 | 必选 | 类型 | 说明 |
---|---|---|---|
nonce_str | 是 | string | 详见API安全说明 |
请求头参数
名称 | 必选 | 类型 | 说明 |
---|---|---|---|
Content-Type | 是 | application/json | 请求数据类型 |
authentication | 是 | string | 签名,详见API安全说明 |
请求体参数
名称 | 必选 | 类型 | 说明 |
---|---|---|---|
accountGuid | 是 | string | 账户guid |
返回示例
- 成功
{
"errorCode": 0,
"data": null,
"message": "Success"
}
- 参数错误,guid不存在
{
"errorCode": 4022,
"data": null,
"message": "Params wrong:accountGuid"
}
备注
- 更多返回错误代码请看错误代码描述