edit-icon download-icon

RevokeInstanceFromCen

Last Updated: Mar 28, 2018

Description

Cancel the authorization of a network to a CEN instance.

Note: This API is an API of VPC. Therefore, the endpoint of the API is vpc.aliyuncs.com and the API version is 2016-04-28.

Request parameters

Name Type Required Description
Action String Yes

The action to perform. Valid value:

RevokeInstanceFromCen

RegionId String Yes The ID of the region where the network is located.
InstanceId String Yes The ID of the network to cancel the authorization.
InstanceType String Yes

The type of the network instance. Valid value:

VPC | VBR

CenId String Yes The ID of the CEN instance.
CenOwnerId String Yes The account ID of the CEN instance.
ClientToken String No A client token used to ensure the idempotence of requests. For more information, see Ensure idempotence.

Response parameters

Name Type Description
RequestId String The ID of the request.

Error codes

See Common error codes.

Examples

Request example

  1. http://vpc.aliyuncs.com?Action=RevokeInstanceFromCen
  2. &CenId=cbn-6ugox0vl0zff4gl0b8
  3. &CenOwnerId=1016647762843556
  4. &InstanceId=vpc-o6wcsp5lcdf4b5kcdcytm
  5. &RegionId=cn-hangzhou-test-306
  6. &InstanceType=VPC
  7. &<Common parameters>

Response example

XML format

  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <RevokeInstanceFromCenResponse>
  3. <RequestId>0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50</RequestId>
  4. </RevokeInstanceFromCenResponse>

JSON format

  1. {
  2. "RequestId":"0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
  3. }
Thank you! We've received your feedback.