Create rewrite rule
create_rewrite_ruleDefine a rule that rewrites live HTTP requests or responses—headers, body, or status—without short-circuiting the upstream call.
Instructions
Create a rewrite rule. Rewrites mutate live requests/responses (headers, body, status) without short-circuiting the upstream call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| value | No | Replacement value. | |
| action | Yes | Rewrite action verb (see engine docs). | |
| target | No | Target field affected by the action. | |
| enabled | No | ||
| match_url | Yes | URL match pattern. | |
| match_method | No | HTTP method to match, or "*". |