cURL
curl --request DELETE \ --url https://app.aiinsurance.io/api/external/companies/{companyId}/exposures/{exposureId} \ --header 'Authorization: <api-key>'
{ "id": "550e8400-e29b-41d4-a716-446655440002", "deleted": true }
Soft deletes an exposure by ID.
The exposure will be marked as deleted and will no longer appear in list operations.
Required permission: insured:delete
insured:delete
Use format: ApiKey <your-api-key>
ApiKey <your-api-key>
Company identifier
The ID of the exposure to delete
Exposure deleted successfully
The ID of the deleted exposure
Confirmation that the exposure was deleted
Was this page helpful?