Modifies project authorization.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-bastionhost:ModifyProjectAuthorization |
update |
*Instance
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the Bastionhost instance. Note
You can call the DescribeInstances operation to obtain this parameter. |
bastionhost-cn-st220aw**** |
| RegionId |
string |
No |
The region ID of the Bastionhost instance. Note
For the mappings between region IDs and region names, see Regions and zones. |
cn-hangzhou |
| AuthorizationId |
integer |
Yes |
The ID of the project authorization to be modified. Note
You can call the ListProjectAuthorizations operation to obtain this parameter. |
1 |
| Name |
string |
No |
The new name of the project authorization. |
name |
| Description |
string |
No |
The new description of the project authorization. |
demo |
| ScopeType |
integer |
No |
The scope of assets that can be managed by the authorization after modification. Valid values:
Valid values:
|
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The unique identifier generated by Alibaba Cloud for the request. |
EC9BF0F4-8983-491A-BC8C-1B4DD94976DE |
Examples
Success response
JSON format
{
"RequestId": "EC9BF0F4-8983-491A-BC8C-1B4DD94976DE"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.