Revokes the permissions granted to a virtual border router (VBR) on a virtual private cloud (VPC).
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the VPC is deployed. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
| VbrOwnerUid |
string |
Yes |
The ID of the Alibaba Cloud account to which the VBR belongs. |
1210123456123456 |
| VbrInstanceIds |
array |
No |
The IDs of the VBRs for which you want to revoke the permissions. |
|
|
string |
No |
The VBR ID. You can specify multiple VBRs and separate them with commas (,).
|
vbr-m5ex0xf63xk8s5bob****,vbr-bp1h6efd7a5g66xxd**** |
|
| InstanceId |
string |
Yes |
The VPC ID. |
vpc-bp1brjuegjc88v3u9**** |
| GrantType |
string |
Yes |
The VBRs for which you want to revoke permissions on the VPC. Valid values:
|
ALL |
| VbrRegionNo |
string |
Yes |
The ID of the region where the VBR is deployed. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| RequestId |
string |
The request ID. |
45B7AA4A-4658-5FFC-90DD-9B8729F301BB |
Examples
Success response
JSON format
{
"RequestId": "45B7AA4A-4658-5FFC-90DD-9B8729F301BB"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Instance.StatusError | The status of instance error. | |
| 400 | InvalidParam.NotNull | The parameter must not be null. | |
| 400 | Parameter.Illegal | The parameter is illegal. | The parameter is invalid. |
| 404 | Instance.NotExist | The instance not exist. | |
| 404 | EcGrantRelation.NotExist | The ec grant relation not exist. | The Express Connect circuit is not authorized. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.