Domain name for API request: tse.intl.tencentcloudapi.com.
Modify the network configuration of the Konga gateway instance
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ModifyConsoleNetwork. |
| Version | Yes | String | Common Params. The value used for this API: 2020-12-07. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| GatewayId | Yes | String | Cloud Native API gateway instance ID. |
| NetworkType | Yes | String | Network type: -Open public network -Internal private network (not currently supported) |
| Operate | No | String | Enable the Konga network. Default is Open. -Open - Close: disabled. |
| AccessControl | No | NetworkAccessControl | Access control policy |
| Parameter Name | Type | Description |
|---|---|---|
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Modify the network configuration of the Konga instance in the cloud native API gateway
POST / HTTP/1.1
Host: tse.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyConsoleNetwork
<Common request parameters>
{
"GatewayId": "gateway-xxxxxxxx",
"NetworkType": "Open",
"Operate": "Open"
}
{
"Response": {
"RequestId": "abc"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation.FailedOperation | Operation failed. |
| FailedOperation.InternalError | Operation failed. Internal error. |
| InternalError | Internal error. |
| InvalidParameterValue | Parameter value error. |
| InvalidParameterValue.InvalidParameterValue | Invalid parameter value. |
| InvalidParameterValue.UpdateError | Invalid request parameter caused update failure. |
| MissingParameter.MissParameter | Missing required parameters. |
| OperationDenied.OperationDenied | Operation not allowed. |
| ResourceNotFound.Forbidden | The resource does not exist. Operation is not allowed. |
| ResourceNotFound.InstanceNotFound | The instance does not exist. |
| ResourceNotFound.ResourceNotFound | The resource does not exist. |
| UnauthorizedOperation.UnauthorizedOperation | Unauthorized operation. |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback