Update Redirects
kinsta_environments_redirects_updateManage redirect rules for a Kinsta environment by creating, updating, or deleting them. Specify action type and environment ID to modify redirects.
Instructions
Create, update, or delete redirect rules for an environment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Sort key | |
| limit | No | Number of results to return | |
| order | No | Sort order | |
| env_id | Yes | The environment ID | |
| offset | No | Offset for pagination | |
| new_value | No | New redirect rule to create | |
| action_type | Yes | Action to perform on redirect rules | |
| regex_search | No | Whether to use regex for search | |
| search_query | No | Search term to filter redirects | |
| rules_to_update | No | Rules to update or delete |