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

E063: Check if broker is in use

GET /api/brokers/:id/in-use

Returns whether any customer or SO references the given broker. Used by the UI before exposing the delete action (W062).

Authentication

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

Request

No body.

Response — 200 OK

{ "inUse": true, "sampleCustomerIds": ["uuid"], "sampleSoIds": ["uuid"] }

Errors

HTTPcodeCondition
404not_foundNo such broker.

Workflow

Calls W063 Check if broker is in use.