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

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 2.2.2.2

The end IP address of the CIDR block.

IpSegment.N.StartIp String No 1.1.1.1

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)://[Endpoint]/?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.