This operation modifies the payer for a cross-account network instance connection to a transit router.
Operation description
You can use this operation to modify the payer for a cross-account connection to a transit router, but only if the connected network instance is a Virtual Private Cloud (VPC), virtual border router (VBR), or IPsec instance.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CenId |
string |
Yes |
The ID of the CEN instance. |
cen-dc4vwznpwbobrl**** |
| InstanceId |
string |
Yes |
The ID of the network instance. |
vpc-bp1h8vbrbcgohcju5**** |
| OrderType |
string |
Yes |
The payer for the network instance. |
PayByCenOwner |
| ClientToken |
string |
No |
A token used to ensure the idempotence of the request. You can generate this token from your client, but you must ensure it is unique for each request. The client token can contain only ASCII characters. Note
If you do not specify this parameter, the system uses the request's RequestId as the ClientToken. The RequestId is unique for each API request. |
123e4567-e89b-12d3-a456-42665544**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response body. |
||
| RequestId |
string |
The request ID. |
F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1 |
Examples
Success response
JSON format
{
"RequestId": "F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | OperationUnsupported.action | This action is not support. | The error message returned because this operation is not supported in the specified region. |
| 400 | OperationFailed.GrantCrossAccountNotExist | Cross-account authorization does not exist. | Cross-account authorization does not exist. |
| 400 | MissingParameter.CenId | The parameter CenId is mandatory. | The parameter CenId is mandatory. |
| 400 | MissingParameter.InstanceId | The parameter InstanceId is mandatory. | The parameter InstanceId is mandatory. |
| 400 | MissingParameter.OrderType | The parameter OrderType is mandatory. | The parameter OrderType is mandatory. |
| 400 | InvalidParameter.OrderType | The specified parameter OrderType is invalid. | The specified parameter OrderType is invalid. |
| 400 | Forbbiden.TransitRouterServiceNotOpen | The user has not open transit router service. | The error message returned because the transit router is disabled. Enable the transit router and try again. |
| 400 | Forbidden.TransitRouterServiceExpired | The transit router service is out of service. | The transit router service has been suspended due for payment. Please renew the service and try again. |
| 400 | Forbidden.CenOwnerTransitRouterServiceNotOpen | The cen owner user has not opened transit router service. | The transit router service for the cen owner's account is not currently opened. Please inform them to open the transit router service and then try again. |
| 400 | Forbidden.CenOwnerTransitRouterServiceExpired | The transit router service of the account to which the cen belongs has been suspended due to arrears. Please notify the other party to renew the service and try again. | The transit router service of the account to which the cen belongs has been suspended. Please notify the other party to renew the service and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.