Revokes the authorization of a network instance from a CEN instance.
Before you begin
When you call this API action, you must use vpc.aliyuncs.com
as the domain name. The API version is the one released on April 28, 2016.
Make the API call
Request parameters
Parameter | Type | Required? | Example value | Description |
---|---|---|---|---|
Action | String | Yes | RevokeInstanceFromCen |
The name of this action. Value: RevokeInstanceFromCen. |
CenId | String | Yes | cen-7qthudw0ll6jmc**** |
The ID of the CEN instance from which the authorization is to be revoked. |
CenOwnerId | Long | Yes | 123456789 |
The UID of the account to which the target CEN instance belongs. |
InstanceId | String | Yes | vpc-uf6o8d1dj8sjwxi6o**** |
The ID of the network instance. |
InstanceType | String | Yes | VPC |
The type of the network instance. Valid values:
|
RegionId | String | Yes | cn-hangzhou |
The ID of the region to which the network instance belongs. |
ClientToken | String | No | 0c593ea1-3bea-11e9-b96b-88e9fe637760 |
The client token that guarantees the idempotence of the request. The value of this parameter is generated by the client and is unique among different requests. The ClientToken can contain only ASCII characters, and cannot exceed 64 characters in length For more information, see How to ensure idempotence. |
Response parameters
Parameter | Type | Example value | Description |
---|---|---|---|
RequestId | String | 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
The ID of the request. |
Examples
Request example
http(s)://vpc.aliyuncs.com/? Action=RevokeInstanceFromCen
&CenId=cen-7qthudw0ll6jmc****
&CenOwnerId=123456789
&InstanceId=vpc-uf6o8d1dj8sjwxi6o****
&InstanceType=VPC
&RegionId=cn-hangzhou
&<CommonParameters>
Response example
XML
format
<RevokeInstanceFromCenResponse>
<RequestId>0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50</RequestId>
</RevokeInstanceFromCenResponse>
JSON
format
{
"RequestId":"0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}
Errors
For a list of error codes, visit the API Error Center.