Revokes the authorization of a network instance from a CEN instance.
Limits
- When you call this API, you must use
vpc.aliyuncs.com
as the domain name. - The API version must be the one released on April 28, 2016.
Debug
Use OpenAPI Explorer to perform debug operations and generate SDK code examples.
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 you want to revoke the authorization of the network instance. |
CenOwnerId | Long | Yes | 123456789 |
The UID of the account to which the 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. The value must be unique among different requests and must be 1 to 64 ASCII characters in length. |
Response parameters
Parameter | Type | Example value | Description |
---|---|---|---|
RequestId | String | 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
The ID of the request. |
Examples
Request example
http(s)://[Endpoint]/? Action=RevokeInstanceFromCen
&CenId=cen-7qthudw0ll6jmc****
&CenOwnerId=123456789
&InstanceId=vpc-uf6o8d1dj8sjwxi6o****
&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.