v1
latestOpenAPI 3.0.22026-07-26207170320.9 KBServices - Routes
Update redirect/rewrite rules
Replace all redirect/rewrite rules for a particular service with the provided list.
This deletes all existing redirect/rewrite rules for the service that aren't included in the request.
Rule priority is assigned according to list order (the first rule in the list has the highest priority).
put/services/{serviceId}/routes
Request body
Example request
[
{
"source": "/:bar/foo",
"destination": "/foo/:bar"
}
]Response
Updated