修改资源协同授权的权限属性。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
POST HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| ResourceType |
string |
是 |
作品类型:
|
cube |
| ResourceId |
string |
是 |
要修改的资源 ID。 |
al*************7ufv |
| EditPermissionType |
integer |
否 |
编辑权限类型
|
0 |
| UsePermissionType |
integer |
否 |
数据集和数据源的使用权限类型
|
1 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID |
0c52dbfa-85de-41e8-9dab-43af8e1952a3 |
| Result |
boolean |
返回接口执行结果。取值范围:
|
true |
| Success |
boolean |
请求是否成功 |
true |
示例
正常返回示例
JSON格式
{
"RequestId": "0c52dbfa-85de-41e8-9dab-43af8e1952a3",
"Result": true,
"Success": true
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | Internal.System.Error | An internal system error occurred. | 系统内部异常。 |
| 400 | Invalid.Parameter.Error | The parameter is invalid:%s. | 无效参数%s。 |
| 400 | Cube.Not.Exist | The Cube does not exist. | 数据集不存在。 |
| 400 | Datasource.NotFound.Error | The specified data source does not exist: %s. | 数据源不存在:%s。 |
| 500 | Authorize3Rd.Page.Org.Illegal | The report does not match the organization. | 报表与组织不匹配。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。