Modifies the permission attributes of resource collaborative authorization.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
Yes |
The resource type. Valid values:
|
cube |
| ResourceId |
string |
Yes |
The ID of the resource to modify. |
al*************7ufv |
| EditPermissionType |
integer |
No |
The edit permission type. Valid values:
|
0 |
| UsePermissionType |
integer |
No |
The usage permission type for datasets and data sources. Valid values:
|
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0c52dbfa-85de-41e8-9dab-43af8e1952a3 |
| Result |
boolean |
The execution result of the operation. Valid values:
|
true |
| Success |
boolean |
Indicates whether the request was successful. |
true |
Examples
Success response
JSON format
{
"RequestId": "0c52dbfa-85de-41e8-9dab-43af8e1952a3",
"Result": true,
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Internal.System.Error | An internal system error occurred. | An internal system error occurred. |
| 400 | Invalid.Parameter.Error | The parameter is invalid:%s. | invalid parameter: ${0}. |
| 400 | Cube.Not.Exist | The Cube does not exist. | The Cube does not exist. |
| 400 | Datasource.NotFound.Error | The specified data source does not exist: %s. | The specified data source does not exist: %s. |
| 500 | Authorize3Rd.Page.Org.Illegal | The report does not match the organization. | The report does not match the organization. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.