Updates a custom line.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pvtz:update |
update |
*customLine
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language. |
en |
| LineId |
string |
Yes |
The unique ID of the custom line. |
100003 |
| Name |
string |
No |
The name of the custom line. |
测试线路 |
| Ipv4s |
array |
Yes |
The list of IPv4 address segments. |
|
|
string |
Yes |
An IPv4 address segment. |
1.1.1.1-2.2.2.2 |
|
| DnsCategory |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique request ID. |
0B7AD377-7E86-44A8-B9A8-53E8666E72FE |
| LineId |
string |
The unique ID of the custom line. |
765001 |
Examples
Success response
JSON format
{
"RequestId": "0B7AD377-7E86-44A8-B9A8-53E8666E72FE",
"LineId": "765001"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | CustomLine.IpOverlap | customLine ip is overlap.%s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.