Description
Revokes an authorization to VPC.
- This API is intended for API activators.
- This revokes the permission granted to the API gateway to access your VPC instances.
Note:
Revoking the authorization may affect the operation of your launched APIs. Make sure that the authorization to be revoked is not used by the APIs.
Request parameters
Name | Type | Required or not | Description |
---|---|---|---|
Action | String | Yes | Operation interface name, which is a required parameter; value: RemoveVpcAccess |
VpcId | String | Yes | VPC ID |
InstanceId | String | Yes | ID of the instance in VPC (ECS/Server Load Balancer) |
Port | Integer | Yes | ID of the port corresponding to the instance |
Return parameters
Name | Type | Description |
---|---|---|
RequestId | String | ID of the current request |
Example
Request example
https://apigateway.cn-qingdao.aliyuncs.com/?Action=VpcRevokeAccess
&VpcId=vpc-uf657qec7lx42paw3q123
&InstanceId=i-uf6bzcg1pr4oh5jjm123
&Port=80
&<Public request parameters>
Return example
XML
format
<RemoveVpcAccessResponse>
<RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BZ015</RequestId>
</RemoveVpcAccessResponse>
JSON
format
{
"RequestId":"CEF72CEB-54B6-4AE8-B225-F876FF7BZ015"
}