Specifies manageable projects in a project authorization. This operation can be called only when the ScopeType parameter returned by the GetProjectAuthorization operation is 2 for the corresponding project authorization.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID of the bastion host. Note
You can invoke the DescribeInstances operation to query this parameter. |
bastionhost-cn-st220aw**** |
| RegionId |
string |
No |
The region ID of the bastion host. Note
For the mapping between region IDs and region names, see Regions and zones. |
cn-hangzhou |
| AuthorizationId |
integer |
Yes |
The project authorization ID. Note
You can call the ListProjectAuthorizations operation to query this parameter. |
1 |
| ProjectIds |
string |
Yes |
The array of IDs of the projects that can be managed. Note
You can call the ListProjects operation to query this parameter. |
1,2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID generated by Alibaba Cloud for the request. |
4F6C075F-FC86-476E-943B-097BD4E12948 |
Examples
Success response
JSON format
{
"RequestId": "4F6C075F-FC86-476E-943B-097BD4E12948"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.