Update mock rule
update_mock_ruleModify an existing mock rule by id, changing only the fields you specify while others keep current values. Returns the updated rule.
Instructions
Update an existing mock rule by id. Pass only the fields you want to change; missing fields keep their current value. Returns the updated rule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Mock rule id. | |
| name | No | ||
| method | No | ||
| dynamic | No | ||
| enabled | No | ||
| delay_ms | No | ||
| status_code | No | ||
| url_pattern | No | ||
| response_body | No | ||
| response_headers | No |