v1

latestOpenAPI 3.0.22026-07-26207170320.9 KB
Services - Routes

Update redirect/rewrite rule priority

Update the priority for a particular redirect/rewrite rule.

To apply redirect/rewrite rules to an incoming request, Render starts from the rule with priority 0 and applies the first encountered rule that matches the request's path (if any).

Render increments the priority of other rules by 1 as necessary to make space for the updated rule.

patch/services/{serviceId}/routes/{routeId}

Request body

priorityinteger required

Redirect and Rewrite Rules are applied in priority order starting at 0. Moves this route to the specified priority and adjusts other route priorities accordingly.

Response

Updated