Skip to main content
DELETE
/
api
/
v1
/
external
/
companies
/
{companyId}
/
custom-objects
/
{objectType}
/
{objectId}
Delete Custom Object
curl --request DELETE \
  --url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/custom-objects/{objectType}/{objectId} \
  --header 'Authorization: <api-key>'
{ "id": "550e8400-e29b-41d4-a716-446655440020", "deleted": true }

Documentation Index

Fetch the complete documentation index at: https://docs.aiinsurance.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication. Include your API key in the Authorization header.

Path Parameters

companyId
string<uuid>
required

Company identifier

objectType
string
required

Custom object type in snake_case format (e.g., vehicle, building_info)

objectId
string<uuid>
required

Custom object identifier

Response

Custom object deleted successfully

id
string<uuid>

The ID of the deleted custom object

deleted
boolean

Confirmation that the custom object was deleted