UpdateProjectSecurity
Updates the permission properties of MaxCompute.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:UpdateProjectSecurity |
update |
*Project
|
None | None |
Request syntax
PUT /api/v1/projects/{projectName}/security HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| projectName |
string |
Yes |
The name of the project. |
odps_project |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
string |
No |
The request body parameters. |
{ "usingAcl":true, "usingPolicy":true, "objectCreatorHasAccessPermission":true, "objectCreatorHasGrantPermission":true, "labelSecurity":true, "enableDownloadPrivilege":true, "projectProtection": { "protected": true/false "exceptionPolicy":"" }, } |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PopResult |
||
| requestId |
string |
The request ID. |
0b57ff7c16642728926458587eb983 |
| data |
string |
The returned result. |
success |
Examples
Success response
JSON format
{
"requestId": "0b57ff7c16642728926458587eb983",
"data": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.