Skip to main content

L2Tp Batch Configure

POST 

/vyos/vpn/l2tp/batch

Execute a batch of L2TP configuration operations.

All operations are executed in a single VyOS commit for atomicity.

The item_name field serves as the primary identifier for the operations (e.g., username for local user ops, pool name for pool ops, or a placeholder like "l2tp" for global settings).

Each operation's op field maps to a method on L2TPBatchBuilder. The value field provides additional parameters when needed.

Request

Responses

Successful Response