Skip to content
Last updated

Soft delete a file from an organization.

DELETEhttps://api.aitronos.com/v1/organizations/{organization_id}/files/{file_id}

Soft deletes a file from the database and removes it from all associated vector stores. The file may optionally be removed from cloud storage.

Path Parameters

organization_id string required

The unique identifier of the organization.

file_id string required

The unique identifier of the file to delete (format: file_*).


Returns

Returns 204 No Content on successful deletion. No response body is returned.

cURL
curl -X DELETE "https://api.aitronos.com/v1/organizations/org_abc123/files/file_xyz789" \
  -H "X-API-Key: $FREDDY_API_KEY"