Skip to main content
Version: v1.0.0(int)

E062: Delete broker

DELETE /api/brokers/:id

Removes a broker that neither customers nor SOs reference. Triggered from Settings, Brokers.

Authentication​

Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Admin.

Request​

No body.

Response — 200 OK​

{ "deletedId": "uuid" }

Echo of the deleted broker's id.

Errors​

HTTPcodeCondition
404not_foundNo such broker.
409in_useCustomers or sales orders reference this broker.

Workflow​

Calls W062 Delete broker.