Skip to main content

Reorder As Path List Rules

POST 

/vyos/as-path-list/reorder

Reorder AS path list rules by deleting and recreating them in a single commit.

This endpoint efficiently reorders multiple rules by:

  1. Deleting all specified rules in reverse order
  2. Recreating them with new rule numbers All operations are executed in a single VyOS commit.

Args: request: Reorder request containing AS path list name and list of rules

Returns: VyOSResponse with success/failure information

Request

Responses

Successful Response