All Products
Search
Document Center

Virtual Private Cloud:RevokeInstanceFromCen

Last Updated:Aug 28, 2026

Revokes the authorization granted to a Cloud Enterprise Network (CEN) instance to access a network instance.

Operation description

  • RevokeInstanceFromCen 接口是 VPC 的 API,所以调用该接口必须使用vpc.aliyuncs.com域名。API version 为2016-04-28。

  • RevokeInstanceFromCen 接口不支持在同一个 VPC、VBR 或者 CCN 中并发撤销网络实例对指定云企业网实例的授权。

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The ID of the region where the network instance is deployed.

You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou

InstanceId

string

Yes

The ID of the network instance.

vpc-uf6o8d1dj8sjwxi6o****

InstanceType

string

Yes

The type of the network instance. Valid values:

  • VPC

  • VBR

  • CCN

VPC

CenId

string

Yes

The ID of the CEN instance to which the network instance is attached.

cen-7qthudw0ll6jmc****

CenOwnerId

integer

Yes

The user ID (UID) of the Alibaba Cloud account to which the CEN instance belongs.

123456789

ClientToken

string

No

The client token used to ensure the idempotence of the request.

You can use the client to generate the token, but you must ensure that the token is unique among requests. The token can contain only ASCII characters.

Note

If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.

0c593ea1-3bea-11e9-b96b-88e9fe637760

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

Examples

Success response

JSON format

{
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}

Error codes

HTTP status code

Error code

Error message

Description

400 IncorrectStatus Current Instance status does not support this operation.
400 TaskConflict The operation is too frequent, TaskConflict. The system is unavailable. Try again later.
400 IncorrectStatus.cbnStatus Current CBN status does not support this operation. The status of the CEN instance is invalid.
400 OperationDenied.InstanceAttachCen Operation denied because instance association CEN. Operation failed due to instance association CEN
404 InvalidInstanceId.NotFound Specified Instance does not exist.
404 InstanceType.Invalid Specified type is not valid.
404 InvalidRegionId.NotFound The RegionId provided does not exist in our records.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.