Updates a custom line.
In each CIDR block, the end IP address must be greater than or equal to the start IP address.
The CIDR blocks that are specified for all custom lines of a domain name cannot intersect.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | UpdateCustomLine |
The operation that you want to perform. Set the value to UpdateCustomLine. |
LineId | Long | Yes | 1234 |
The unique ID of the custom line. |
LineName | String | Yes | Wangjing |
The new name of the custom line. |
IpSegment.N.EndIp | String | No | 192.0.2.0 |
The end IP address of the CIDR block. |
IpSegment.N.StartIp | String | No | 192.0.2.254 |
The start IP address of the CIDR block. |
Lang | String | No | en |
The language type. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | B57C121B-A45F-44D8-A9B2-13E5A5044195 |
The ID of the request. |
Examples
Sample requests
http(s)://alidns.aliyuncs.com/?Action=UpdateCustomLine
&LineId=1234
&LineName=Wangjing
&<Common request parameters>
Sample success responses
XML
format
<UpdateCustomLineResponse>
<requestId>330439C2-5C49-4A4A-8FF6-72600332117B</requestId>
</UpdateCustomLineResponse>
JSON
format
{
"requestId":"330439C2-5C49-4A4A-8FF6-72600332117B"
}
For a list of error codes, visit the API Error Center.