Skip to main content
DELETE
/
api
/
external
/
companies
/
{companyId}
/
brokers
/
{brokerId}
Delete Broker
curl --request DELETE \
  --url https://app.aiinsurance.io/api/external/companies/{companyId}/brokers/{brokerId} \
  --header 'Authorization: <api-key>'
{
"id": "550e8400-e29b-41d4-a716-446655440001",
"deleted": true
}

Authorizations

Authorization
string
header
required

Use format: ApiKey <your-api-key>

Path Parameters

companyId
string<uuid>
required

Company identifier

brokerId
string<uuid>
required

Broker identifier

Response

Broker deleted successfully

id
string<uuid>

The ID of the deleted broker

deleted
boolean

Confirmation that the broker was deleted