Creates a route for a network.
Operation description
This API operation is available for all DataWorks editions.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| NetworkId | long | Yes | The network ID. | 1000 |
| DestinationCidr | string | Yes | The CIDR blocks of the destination-based route. | 192.168.0.0/16 |
| ResourceGroupId | string | No | Unique identifier of the serverless resource group. | Serverless_res_group_524257424564736_6831777003XXXXX |
Response parameters
Examples
Sample success responses
JSONformat
{
"Success": true,
"Id": 1000,
"RequestId": "6A6CBE87-9F91-1323-B680-E7A7065XXXXX"
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-02-21 | The request parameters of the API has changed | View Change Details |
| 2024-12-19 | The response structure of the API has changed | View Change Details |
