update_routing_policy
Change a routing policy. Only the fields you send change; config replaces the whole config. The strategy must still be usable with the config that results. Needs a Last Price credential with routing write scope. Needs a claimed workspace: a sandbox key from self-registration is refused (403) until a person claims the workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A new name. | |
| config | No | What the strategy needs. weights gives each function id a share (weighted). rules each send requests whose field matches to a function (policy). fallback_chain lists function ids to try in order when the strategy picks none. experiment runs an A/B test inside the policy, one function per arm. | |
| strategy | No | A new strategy. | |
| policy_id | Yes | The routing policy UUID: id on a list_routing_policies result. | |
| is_default | No | Make this the workspace default. | |
| fallback_function_id | No | A function to use when the strategy picks none. Null clears it. |