Skip to main content
DELETE
/
api
/
external
/
companies
/
{companyId}
/
brokerages
/
{brokerageId}
Delete Brokerage
curl --request DELETE \
  --url https://app.aiinsurance.io/api/external/companies/{companyId}/brokerages/{brokerageId} \
  --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

brokerageId
string<uuid>
required

Brokerage identifier

Response

Brokerage deleted successfully

id
string<uuid>

The ID of the deleted brokerage

deleted
boolean

Confirmation that the brokerage was deleted