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.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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

The end IP address of the CIDR block.

IpSegment.N.StartIp String No

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.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format


For a list of error codes, visit the API Error Center.