E061: Update broker
PATCH /api/brokers/:id
Renames an existing broker. Triggered from Settings, Brokers. Same shape as W051.
Authentication
Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Admin.
Request
{ "name": "...", "commissionRate": 0.05, "isActive": true }
Passing isActive archives (false) or reactivates (true) the broker; all fields are optional.
Response — 200 OK
{ "id": "uuid", "name": "...", "commissionRate": 0.05 }
Errors
| HTTP | code | Condition |
|---|---|---|
| 404 | not_found | No such broker. |
| 422 | validation_failed | Shape invalid. |
Workflow
Calls W061 Update broker.