Skip to main content

Reorder Route Map Rules

POST 

/vyos/route-map/reorder

Reorder route-map 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 route-map name and list of rules

Returns: VyOSResponse with success/failure information

Request

Responses

Successful Response