Add redirect/rewrite rules
render_add_routeAdd redirect or rewrite rules to a Render service by specifying source, destination, and type. Optionally set priority order for rule application.
Instructions
Add redirect/rewrite rules. Add redirect/rewrite rules to the service with the provided ID. Calls POST /services/{serviceId}/routes on the Render Public API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| source | Yes | ||
| priority | No | Redirect and Rewrite Rules are applied in priority order starting at 0. Defaults to last in the priority list. | |
| serviceId | Yes | The ID of the service | |
| destination | Yes |