All Products
Document Center


Last Updated: Dec 19, 2017


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


Request example

  2. &VpcId=vpc-uf657qec7lx42paw3q123
  3. &InstanceId=i-uf6bzcg1pr4oh5jjm123
  4. &Port=80
  5. &<Public request parameters>

Return example

XML format

  1. <RemoveVpcAccessResponse>
  2. <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BZ015</RequestId>
  3. </RemoveVpcAccessResponse>

JSON format

  1. {
  2. "RequestId":"CEF72CEB-54B6-4AE8-B225-F876FF7BZ015"
  3. }