Governance
Update routing rule
Updates an existing routing rule's configuration.
put/api/governance/routing-rules/{rule_id}
Request
- Base URLhttp://localhost:8080
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
rule_idstring required
Routing rule ID
Request body
Example request
{
"targets": [
{
"weight": 0.5
}
]
}Response
Routing rule updated successfully
Example response
{
"rule": {
"targets": [
{
"weight": 0.5
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.