Modify Peer Gateway

Last updated: 2020-06-04 18:24:08


    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new VPC API 3.0 which is standardized and faster.

    1. API Description

    This API (ModifyUserGw) is used to modify customer gateway.
    Domain for API request:

    2. Input Parameters

    The following request parameter list only provides API request parameters. Common request parameters need to be added when the API is called. For more information, refer to Common Request Parameters. The Action field for this API is ModifyUserGw.

    Parameter Name Required Type Description
    userGwId Yes String Customer gateway ID assigned by the system. For example: cgw-e098slul
    userGwName Yes String Customer gateway name. You can use any content as long as it does not exceed 60 characters.

    3. Output Parameters

    Parameter Name Type Description
    code Int Common error code. A value of 0 indicates success, and other values indicate failure. For more information, please refer to Common Error Codes on the Error Code page.
    message String Module error message description depending on API.

    4. Error Codes

    The following list only provides the business logic error codes for this API. For additional common error codes, refer to VPC Error Codes.

    Error code Description
    InvalidUserGwName Invalid customer gateway name. It should be within 60 characters.
    InvalidUserGw.NotFound Invalid customer gateway. Customer gateway resource does not exist. Please check the information you entered. You can query customer gateway by using the DescribeUserGw API.

    5. Example

    &<Common request parameters>



    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback