mock_rule_set_enabled
Toggle a mock rule's enabled state without deleting it. Specify host and rule ID to enable or disable.
Instructions
Enable or disable one rule without deleting it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Rule host: "*" (any routed host), a glob such as *.example.com, or a hostname. | |
| enabled | Yes | ||
| rule_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| file | Yes | ||
| host | Yes | ||
| path | Yes | ||
| method | No | ||
| status | No | ||
| enabled | Yes | ||
| delay_ms | No | ||
| priority | Yes | ||
| response_mode | Yes | ||
| body_match_json | No | {} | |
| request_patches | No | ||
| response_patches | No | ||
| request_header_edits | No |