Skip to main content
DELETE
/
api
/
v1
/
external
/
companies
/
{companyId}
/
files
/
{fileId}
/
placements
/
{placementId}
Remove File Placement
curl --request DELETE \
  --url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/files/{fileId}/placements/{placementId} \
  --header 'Authorization: <api-key>'
{
  "id": "550e8400-e29b-41d4-a716-446655440032",
  "fileId": "550e8400-e29b-41d4-a716-446655440020",
  "fileDeleted": false
}

Authorizations

Authorization
string
header
required

API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.

Path Parameters

companyId
string<uuid>
required

Company identifier

fileId
string<uuid>
required

File identifier

placementId
string<uuid>
required

Placement identifier

Response

Placement removed

id
string<uuid>

Id of the removed placement

fileId
string<uuid>

The file the placement belonged to

fileDeleted
boolean

True when the removed placement was the file's last — the file itself was deleted and its storage reclaimed